Data Structures | |
struct | S_pipe_int |
Typedefs | |
typedef void | Pipe_handler (Status_t status, uint16_t nb_byte) |
Functions | |
Status_t | host_get_data (uint8_t pipe, uint16_t *nb_data, void *ptr_buf) |
This function receives nb_data bytes pointed to by ptr_buf on the specified pipe. More... | |
Status_t | host_send_data (uint8_t pipe, uint16_t nb_data, const void *ptr_buf) |
This function sends nb_data bytes pointed to by ptr_buf on the specified pipe. More... | |
void | usb_host_task (void) |
Entry point of the USB host management. More... | |
void | usb_host_task_init (void) |
This function initializes the USB host controller. More... | |
Variables | |
uint8_t | data_stage [SIZEOF_DATA_STAGE] |
Public: uint8_t data_stage[SIZEOF_DATA_STAGE] Internal RAM buffer for USB data stage content This buffer is required to setup host enumeration process It contains the device descriptors received. More... | |
volatile uint8_t | device_state |
Public: uint8_t device_state Its value represents the current state of the device connected to the USB host controller Value can be: More... | |
volatile bool | request_resume |
volatile uint8_t | usb_host_device_status |
volatile S_usb_setup_data | usb_request |
For control requests management over control pipe. More... | |