Event handling Serial I/O Functionalities.
Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | MAX_BYTES_FOR_USB_TX (255) |
#define | USB_RX_BUF_SIZE (100) |
#define | USB_TX_BUF_SIZE (100) |
Functions | |
uint8_t | sio2host_getchar (void) |
This function performs a blocking character receive functionality. More... | |
int | sio2host_getchar_nowait (void) |
This function performs a non-blocking character receive functionality. More... | |
void | sio2host_init (void) |
Initializes the Serial IO Module of the Host Device. More... | |
uint8_t | sio2host_rx (uint8_t *data, uint8_t max_length) |
Receives data from USB. More... | |
uint8_t | sio2host_tx (uint8_t *data, uint8_t length) |
Transmits data via USB. More... | |
void | usb_handler (void) |
Services data transmission or reception on USB. More... | |