43 #ifndef UART_USB_LIB_H_
44 #define UART_USB_LIB_H_
57 #ifdef UART_USB_DEFAULT_OUTPUT
58 #define uart_usb_putchar putchar
80 void uart_usb_set_stdout(
void);
81 uint8_t uart_usb_get_control_line_state(
void);
82 void uart_usb_set_control_line_state(uint8_t control_line_state);
84 extern void uart_usb_configure_endpoints();
bit uart_usb_test_hit(void)
This function checks if a character has been received on the USB bus.
void uart_usb_init(void)
Initializes the uart_usb library.
char uart_usb_getchar(void)
This function reads one byte from the USB bus.
int uart_usb_putchar(int data_to_send)
This function fills the USB transmit buffer with the new data.
bit uart_usb_tx_ready(void)
This function checks if the USB emission buffer is ready to accept at at least 1 byte.
void uart_usb_flush(void)
This function sends the data stored in the USB transmit buffer.