![]() |
MCUXpresso SDK API Reference Manual
Rev. 0
NXP Semiconductors
|
Macros | |
| #define | USB_DEVICE_CONFIG_SELF_POWER (1U) |
| Whether device is self power. More... | |
| #define | USB_DEVICE_CONFIG_ENDPOINTS (4U) |
| How many endpoints are supported in the stack. More... | |
| #define | USB_DEVICE_CONFIG_USE_TASK (0U) |
| Whether the device task is enabled. More... | |
| #define | USB_DEVICE_CONFIG_MAX_MESSAGES (8U) |
| How many the notification message are supported when the device task is enabled. More... | |
| #define | USB_DEVICE_CONFIG_USB20_TEST_MODE (0U) |
| Whether test mode enabled. More... | |
| #define | USB_DEVICE_CONFIG_CV_TEST (0U) |
| Whether device CV test is enabled. More... | |
| #define | USB_DEVICE_CONFIG_COMPLIANCE_TEST (0U) |
| Whether device compliance test is enabled. More... | |
| #define | USB_DEVICE_CONFIG_KEEP_ALIVE_MODE (0U) |
| Whether the keep alive feature enabled. More... | |
| #define | USB_DEVICE_CONFIG_BUFFER_PROPERTY_CACHEABLE (0U) |
| Whether the transfer buffer is cache-enabled or not. More... | |
| #define | USB_DEVICE_CONFIG_LOW_POWER_MODE (0U) |
| Whether the low power mode is enabled or not. More... | |
| #define | USB_DEVICE_CONFIG_REMOTE_WAKEUP (0U) |
| The device remote wakeup is unsupported. More... | |
| #define | USB_DEVICE_CONFIG_DETACH_ENABLE (0U) |
| Whether the device detached feature is enabled or not. More... | |
| #define | USB_DEVICE_CONFIG_ERROR_HANDLING (0U) |
| Whether handle the USB bus error. More... | |
| #define | USB_DEVICE_CHARGER_DETECT_ENABLE (0U) |
| Whether the device charger detect feature is enabled or not. More... | |
class instance define | |
| #define | USB_DEVICE_CONFIG_HID (0U) |
| HID instance count. | |
| #define | USB_DEVICE_CONFIG_CDC_ACM (1U) |
| CDC ACM instance count. | |
| #define | USB_DEVICE_CONFIG_MSC (0U) |
| MSC instance count. | |
| #define | USB_DEVICE_CONFIG_AUDIO (0U) |
| Audio instance count. | |
| #define | USB_DEVICE_CONFIG_PHDC (0U) |
| PHDC instance count. | |
| #define | USB_DEVICE_CONFIG_VIDEO (0U) |
| Video instance count. | |
| #define | USB_DEVICE_CONFIG_CCID (0U) |
| CCID instance count. | |
| #define | USB_DEVICE_CONFIG_PRINTER (0U) |
| Printer instance count. | |
| #define | USB_DEVICE_CONFIG_DFU (0U) |
| DFU instance count. | |
| #define USB_DEVICE_CONFIG_SELF_POWER (1U) |
1U supported, 0U not supported
| #define USB_DEVICE_CONFIG_ENDPOINTS (4U) |
| #define USB_DEVICE_CONFIG_USE_TASK (0U) |
| #define USB_DEVICE_CONFIG_MAX_MESSAGES (8U) |
| #define USB_DEVICE_CONFIG_USB20_TEST_MODE (0U) |
| #define USB_DEVICE_CONFIG_CV_TEST (0U) |
| #define USB_DEVICE_CONFIG_COMPLIANCE_TEST (0U) |
If the macro is enabled, the test mode and CV test macroes will be set.
| #define USB_DEVICE_CONFIG_KEEP_ALIVE_MODE (0U) |
| #define USB_DEVICE_CONFIG_BUFFER_PROPERTY_CACHEABLE (0U) |
| #define USB_DEVICE_CONFIG_LOW_POWER_MODE (0U) |
| #define USB_DEVICE_CONFIG_REMOTE_WAKEUP (0U) |
| #define USB_DEVICE_CONFIG_DETACH_ENABLE (0U) |
| #define USB_DEVICE_CONFIG_ERROR_HANDLING (0U) |
| #define USB_DEVICE_CHARGER_DETECT_ENABLE (0U) |