![]() |
MCUXpresso SDK API Reference Manual
Rev 2.14.0
NXP Semiconductors
|
Macros | |
#define | USB_DEVICE_STATUS_SIZE (0x02U) |
Defines USB device status size when the host request to get device status. | |
#define | USB_INTERFACE_STATUS_SIZE (0x02U) |
Defines USB device interface status size when the host request to get interface status. | |
#define | USB_ENDPOINT_STATUS_SIZE (0x02U) |
Defines USB device endpoint status size when the host request to get endpoint status. | |
#define | USB_CONFIGURE_SIZE (0X01U) |
Defines USB device configuration size when the host request to get current configuration. | |
#define | USB_INTERFACE_SIZE (0X01U) |
Defines USB device interface alternate setting size when the host request to get interface alternate setting. | |
#define | USB_GET_STATUS_DEVICE_MASK (0x03U) |
Defines USB device status mask. | |
#define | USB_GET_STATUS_INTERFACE_MASK (0x03U) |
Defines USB device interface status mask. | |
#define | USB_GET_STATUS_ENDPOINT_MASK (0x03U) |
Defines USB device endpoint status mask. | |
Enumerations | |
enum | usb_device_control_read_write_sequence_t { kUSB_DeviceControlPipeSetupStage = 0U, kUSB_DeviceControlPipeDataStage, kUSB_DeviceControlPipeStatusStage } |
Control read and write sequence. More... | |
Functions | |
usb_status_t | USB_DeviceControlPipeInit (usb_device_handle handle) |
Initialize the control pipes. More... | |
usb_status_t USB_DeviceControlPipeInit | ( | usb_device_handle | handle | ) |
The function is used to initialize the control pipes. This function should be called when event kUSB_DeviceEventBusReset is received.
handle | The device handle. |