|
Contiki-Inga 3.x
|
This file controls the UART USB functions. More...
#include "config.h"#include "usb_drv.h"#include "usb_descriptors.h"#include "serial/uart_usb_lib.h"#include "cdc_task.h"#include <stdio.h>Go to the source code of this file.
Functions | |
| void | uart_usb_init (void) |
| Initializes the uart_usb library. | |
| bit | uart_usb_tx_ready (void) |
| This function checks if the USB emission buffer is ready to accept at at least 1 byte. More... | |
| int | uart_usb_putchar (int data_to_send) |
| This function fills the USB transmit buffer with the new data. More... | |
| bit | uart_usb_test_hit (void) |
| This function checks if a character has been received on the USB bus. More... | |
| char | uart_usb_getchar (void) |
| This function reads one byte from the USB bus. More... | |
| void | uart_usb_flush (void) |
| This function sends the data stored in the USB transmit buffer. More... | |
Variables | |
| Uchar | tx_counter |
| Counter for USB Serial port. | |
1.8.3.1