Macros¶
API Reference
-
group
group_usbfs_dev_drv_macros
Defines
-
CY_USBFS_VERSION_MAJOR
USBFS Driver major version.
-
CY_USBFS_VERSION_MINOR
USBFS Driver minor version.
-
CY_USBFS_ID
USBFS Driver identifier.
-
CY_USBFS_MODE_POS
USBFS Driver mode position in STATUS CODE: 0 - Device, 1 - Host.
-
CY_USBFS_DEV_DRV_STATUS_CODE
USBFS Driver status code Device.
-
CY_USBFS_DEV_DRV_ALLOC_ENDPOINT_BUFFER
(buf, size) Allocates a static buffer for the data endpoint.
The size parameter must be a constant. The allocated buffer is aligned to a 2-byte boundary. An odd buffer size is converted to even, consuming 1 extra byte. The application must discard this extra byte to support different 8-bit and 16-bit hardware buffer access types in the driver. For more detail, refer to Hardware Buffer Access.
-