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

| stc_usbn_endpoint_data_t astcEndpoints[2] |
Endpoint handles.
Definition at line 2479 of file usb.h.
Referenced by Usb_GetEndpointPtr(), Usb_InitInstance(), Usb_SetupHalEndpoint(), and UsbIrqHandler().
| boolean_t bDeviceActive |
Device active?
Definition at line 2450 of file usb.h.
Referenced by Usb_SwitchUsb(), and UsbIrqHandler().
| boolean_t bDeviceEnabled |
Device enabled?
Definition at line 2452 of file usb.h.
Referenced by Usb_Configure(), and Usb_SwitchUsb().
| boolean_t bHostActive |
Host active?
Definition at line 2449 of file usb.h.
Referenced by Usb_SwitchUsb(), and UsbIrqHandler().
| boolean_t bHostEnabled |
Host enabled?
Definition at line 2451 of file usb.h.
Referenced by Usb_Configure(), and Usb_SwitchUsb().
| volatile boolean_t bSofTimeoutEnabled |
Timeout handling via SOF?
Definition at line 2454 of file usb.h.
Referenced by Usb_AddTimeOut(), Usb_InitInstance(), Usb_TimeoutHandler(), and UsbIrqHandler().
| boolean_t bUsbInstanceSet |
USB was initialized?
Definition at line 2453 of file usb.h.
Referenced by Usb_Configure(), and Usb_InitInstance().
| usb_brst_isr_func_ptr_t pfnBrstCallback |
| usb_cmpirq_isr_func_ptr_t pfnCmpirqCallback |
USB host token complete callback.
Definition at line 2463 of file usb.h.
Referenced by UsbIrqHandler().
| usb_cnnirq_isr_func_ptr_t pfnCnnirqCallback |
| usb_conf_isr_func_ptr_t pfnConfCallback |
Configuration changed callback.
Definition at line 2455 of file usb.h.
Referenced by Usb_Configure(), and UsbIrqHandler().
| usb_device_init_t pfnDeviceInit |
| usb_device_vbus_t pfnDeviceVbus |
USB device vbus callback.
Definition at line 2469 of file usb.h.
Referenced by Usb_Configure(), and Usb_SwitchUsb().
| usb_dirq_isr_func_ptr_t pfnDirqCallback |
USB host disconnecion callback.
Definition at line 2461 of file usb.h.
Referenced by UsbIrqHandler().
| usb_host_init_t pfnHostInit |
| usb_host_overcurrent_t pfnHostOvercurrent |
USB host overcurrent callback.
Definition at line 2472 of file usb.h.
Referenced by Usb_Configure().
| usb_host_pulldown_t pfnHostPullDownHostEnable |
| usb_host_vbus_t pfnHostVbus |
| usb_rwkirq_isr_func_ptr_t pfnRwkirqCallback |
USB host remote wakeup callback.
Definition at line 2465 of file usb.h.
Referenced by UsbIrqHandler().
| usb_setp_isr_func_ptr_t pfnSetpCallback |
Setup received callback.
Definition at line 2456 of file usb.h.
Referenced by Usb_Configure(), and UsbIrqHandler().
| usb_sof_isr_func_ptr_t pfnSofCallback |
Start of frame callback.
Definition at line 2460 of file usb.h.
Referenced by Usb_Configure(), and UsbIrqHandler().
| usb_susp_isr_func_ptr_t pfnSuspCallback |
| usb_tcan_isr_func_ptr_t pfnTcanCallback |
USB host token cancelled callback.
Definition at line 2466 of file usb.h.
Referenced by UsbIrqHandler().
| usb_urirq_isr_func_ptr_t pfnUrirqCallback |
| usb_wkup_isr_func_ptr_t pfnWkupCallback |
| stc_usb_sof_timeout_handler_t pstcUsbTimeOutHandler[5] |
Timeout handles.
Definition at line 2481 of file usb.h.
Referenced by Usb_AddTimeOut(), Usb_InitInstance(), Usb_RemoveTimeOut(), and Usb_TimeoutHandler().
| uint8_t u8NumberOfEndpoints |
USB number of HAL endpoints.
Definition at line 2473 of file usb.h.
Referenced by Usb_GetEndpointPtr(), Usb_InitInstance(), and UsbIrqHandler().