USBH_Init_TypeDef Struct Reference

USB Host stack initialization structure.

#include <em_usb.h>

Data Fields

uint32_t rxFifoSize
Number of FIFO bytes set aside for IN endpoints.
uint32_t nptxFifoSize
Number of FIFO bytes set aside for OUT CTRL/BULK endoints.
uint32_t ptxFifoSize
Number of FIFO bytes set aside for OUT INTR/ISO endoints.
uint32_t reserved
Reserved for future use.

USB Host stack initialization structure.

This structure is passed to USBH_Init() when starting up the device. Max accumulated FIFO size is 2K bytes.

Field Documentation

rxFifoSize

uint32_t USBH_Init_TypeDef::rxFifoSize

Number of FIFO bytes set aside for IN endpoints.


nptxFifoSize

uint32_t USBH_Init_TypeDef::nptxFifoSize

Number of FIFO bytes set aside for OUT CTRL/BULK endoints.


ptxFifoSize

uint32_t USBH_Init_TypeDef::ptxFifoSize

Number of FIFO bytes set aside for OUT INTR/ISO endoints.


reserved

uint32_t USBH_Init_TypeDef::reserved

Reserved for future use.