![]() |
PDL for FM4
Version1.2
Peripheral Driverl Library for FM4
|
#include <usb.h>

Data Fields | |
| volatile uint8_t | u8EndpointAddress |
| endpoint address More... | |
| volatile uint16_t | u16EndpointSize |
| FIFO size. More... | |
| volatile uint16_t * | pstcEpStatusRegister |
| status register More... | |
| volatile uint16_t * | pstcEpControlRegister |
| control register More... | |
| volatile uint16_t * | pstcEpDataRegister |
| data register More... | |
| stc_usbn_endpoint_buffer_t * | pstcEndpointBuffer |
| endpoint buffer More... | |
| volatile usb_endpoint_datatransferred_func_ptr_t | pfnRxTxCallback |
| data transferred callback More... | |
| volatile usb_endpoint_datatransferred_func_ptr_t | pfnRxTxBlockCallback |
| data block transferred callback More... | |
| boolean_t | bAutomaticNullTermination |
| automatic null termination More... | |
| volatile boolean_t | bIsActive |
| Endpoint is sending / receiving? More... | |
| stc_usbn_t * | pstcUsbInstance |
| Ref. USB instance. More... | |
| boolean_t bAutomaticNullTermination |
| volatile boolean_t bIsActive |
| volatile usb_endpoint_datatransferred_func_ptr_t pfnRxTxBlockCallback |
| volatile usb_endpoint_datatransferred_func_ptr_t pfnRxTxCallback |
data transferred callback
Definition at line 2391 of file usb.h.
Referenced by Usb_InitInstance(), Usb_SetEndpointRxTxCallback(), and UsbIrqHandler().
| stc_usbn_endpoint_buffer_t* pstcEndpointBuffer |
endpoint buffer
Definition at line 2390 of file usb.h.
Referenced by RxTxCallback(), SetLineCoding(), UsbDeviceCmsisDap_GetReceivedData(), UsbDeviceHidCom_GetReceivedData(), UsbDeviceLibUsb_GetReceivedDataEndpoint1(), UsbDeviceLibUsb_RxCallbackEp1(), UsbDevicePrinter_GetReceivedData(), and UsbDevicePrinter_RxCallback().
| volatile uint16_t* pstcEpControlRegister |
control register
< Defines 'read / write' permissions
Definition at line 2388 of file usb.h.
Referenced by Usb_HalEndpointStatus(), Usb_HalEpReady(), Usb_HalStallEndpoint(), Usb_HalUnstallEndpoint(), Usb_InitInstance(), and Usb_SetupHalEndpoint().
| volatile uint16_t* pstcEpDataRegister |
data register
< Defines 'read / write' permissions
Definition at line 2389 of file usb.h.
Referenced by Usb_HalReceive(), Usb_HalSend(), and Usb_InitInstance().
| volatile uint16_t* pstcEpStatusRegister |
status register
< Defines 'read / write' permissions
Definition at line 2387 of file usb.h.
Referenced by Usb_HalClearDrq(), Usb_HalEndpointIsBusy(), Usb_HalEndpointStatus(), Usb_HalEpReady(), Usb_HalReceive(), Usb_HalSend(), Usb_InitInstance(), Usb_SetEndpointRxTxCallback(), Usb_SetupHalEndpoint(), and UsbIrqHandler().
| stc_usbn_t* pstcUsbInstance |
| volatile uint16_t u16EndpointSize |
FIFO size.
Definition at line 2386 of file usb.h.
Referenced by Usb_HalSend(), Usb_InitInstance(), and Usb_SetupHalEndpoint().
| volatile uint8_t u8EndpointAddress |
endpoint address
Definition at line 2385 of file usb.h.
Referenced by RxTxCallback(), Usb_GetEndpointPtr(), Usb_HalSend(), Usb_InitInstance(), Usb_SetEndpointRxTxCallback(), and Usb_SetupHalEndpoint().