PDL for FM4  Version1.2
Peripheral Driverl Library for FM4
stc_usb_intern_data Struct Reference

#include <usb.h>

Collaboration diagram for stc_usb_intern_data:

Data Fields

boolean_t bHostActive
 Host active? More...
 
boolean_t bDeviceActive
 Device active? More...
 
boolean_t bHostEnabled
 Host enabled? More...
 
boolean_t bDeviceEnabled
 Device enabled? More...
 
boolean_t bUsbInstanceSet
 USB was initialized? More...
 
volatile boolean_t bSofTimeoutEnabled
 Timeout handling via SOF? More...
 
usb_conf_isr_func_ptr_t pfnConfCallback
 Configuration changed callback. More...
 
usb_setp_isr_func_ptr_t pfnSetpCallback
 Setup received callback. More...
 
usb_susp_isr_func_ptr_t pfnSuspCallback
 Suspend callback. More...
 
usb_wkup_isr_func_ptr_t pfnWkupCallback
 Wakeup callback. More...
 
usb_brst_isr_func_ptr_t pfnBrstCallback
 Bus reset callback. More...
 
usb_sof_isr_func_ptr_t pfnSofCallback
 Start of frame callback. More...
 
usb_dirq_isr_func_ptr_t pfnDirqCallback
 USB host disconnecion callback. More...
 
usb_cnnirq_isr_func_ptr_t pfnCnnirqCallback
 USB host connecion callback. More...
 
usb_cmpirq_isr_func_ptr_t pfnCmpirqCallback
 USB host token complete callback. More...
 
usb_urirq_isr_func_ptr_t pfnUrirqCallback
 USB host bus reset callback. More...
 
usb_rwkirq_isr_func_ptr_t pfnRwkirqCallback
 USB host remote wakeup callback. More...
 
usb_tcan_isr_func_ptr_t pfnTcanCallback
 USB host token cancelled callback. More...
 
usb_device_init_t pfnDeviceInit
 USB device init callback. More...
 
usb_host_init_t pfnHostInit
 USB host init callback. More...
 
usb_device_vbus_t pfnDeviceVbus
 USB device vbus callback. More...
 
usb_host_vbus_t pfnHostVbus
 USB host vbus callback. More...
 
usb_host_pulldown_t pfnHostPullDownHostEnable
 USB host pull-down callback. More...
 
usb_host_overcurrent_t pfnHostOvercurrent
 USB host overcurrent callback. More...
 
uint8_t u8NumberOfEndpoints
 USB number of HAL endpoints. More...
 
stc_usbn_endpoint_data_t astcEndpoints [2]
 Endpoint handles. More...
 
stc_usb_sof_timeout_handler_t pstcUsbTimeOutHandler [5]
 Timeout handles. More...
 

Detailed Description

Definition at line 2447 of file usb.h.

Field Documentation

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

Bus reset callback.

Definition at line 2459 of file usb.h.

Referenced by UsbIrqHandler().

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 host connecion callback.

Definition at line 2462 of file usb.h.

Referenced by UsbIrqHandler().

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 init callback.

Definition at line 2467 of file usb.h.

Referenced by Usb_Configure().

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 init callback.

Definition at line 2468 of file usb.h.

Referenced by Usb_Configure().

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 pull-down callback.

Definition at line 2471 of file usb.h.

Referenced by Usb_Configure().

usb_host_vbus_t pfnHostVbus

USB host vbus callback.

Definition at line 2470 of file usb.h.

Referenced by Usb_Configure().

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

Suspend callback.

Definition at line 2457 of file usb.h.

Referenced by UsbIrqHandler().

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 host bus reset callback.

Definition at line 2464 of file usb.h.

Referenced by UsbIrqHandler().

usb_wkup_isr_func_ptr_t pfnWkupCallback

Wakeup callback.

Definition at line 2458 of file usb.h.

Referenced by UsbIrqHandler().

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().


The documentation for this struct was generated from the following file: