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

Go to the source code of this file.
Data Structures | |
| struct | stc_usbdevice_class_config |
| USB device class configuration. More... | |
| struct | stc_usbdevice_intern_data |
| USB device class configuration. More... | |
| struct | stc_usbdevice_config |
| USB device configuration. More... | |
| struct | stc_usbdevice_endpoint_config |
| USB device endpoint configuration. More... | |
| struct | stc_usbdevicen_instance_data |
| USB device instance. More... | |
Macros | |
| #define | USBDEVICE_MAXCLASSES 5 |
| #define | UsbDevice_HalEndpointStatus(x) Usb_HalEndpointStatus(x) |
| #define | UsbDevice_HalEndpointIsBusy(x) Usb_HalEndpointIsBusy(x) |
| #define | UsbDevice_HalStallEndpoint(x) Usb_HalStallEndpoint(x) |
| #define | UsbDevice_HalUnstallEndpoint(x) Usb_HalUnstallEndpoint(x) |
Typedefs | |
| typedef void(* | usbdevice_setuprequest_func_ptr_t )(stc_usbn_t *pstcUsb, stc_usb_request_t *pstcSetup) |
| setup request callback handle More... | |
| typedef void(* | usbdevice_controltranfered_func_ptr_t )(stc_usbn_t *pstcUsb, stc_usbn_endpoint_data_t *pstcEndpoint) |
| control data transferred More... | |
| typedef void(* | usbdevice_initclasses_func_ptr_t )(stc_usbn_t *pstcUsb) |
| init class callback More... | |
| typedef struct stc_usbdevice_class_config | stc_usbdevice_class_config_t |
| USB device class configuration. More... | |
| typedef struct stc_usbdevice_intern_data | stc_usbdevice_intern_data_t |
| USB device class configuration. More... | |
| typedef struct stc_usbdevice_config | stc_usbdevice_config_t |
| USB device configuration. More... | |
| typedef struct stc_usbdevice_endpoint_config | stc_usbdevice_endpoint_config_t |
| USB device endpoint configuration. More... | |
| typedef struct stc_usbdevicen_instance_data | stc_usbdevicen_instance_data_t |
| USB device instance. More... | |
| typedef enum en_usbsend_mode | en_usbsend_mode_t |
| USB device sending mode. More... | |
Enumerations | |
| enum | en_usbsend_mode { UsbPOLL = 0, UsbIRQ = 1, UsbDMA = 2 } |
| USB device sending mode. More... | |
A detailed description is available at USB Device Module description
History:
Definition in file usbdevice.h.