PSoC 6 Peripheral Driver Library

General Description

Macros

#define CY_USBFS_DEV_ENDPOINT_TRANSFER_ERROR   (0x1U)
 An error occurred during a USB transfer. More...
 
#define CY_USBFS_DEV_ENDPOINT_SAME_DATA_TOGGLE   (0x2U)
 The data toggle bit remains the same. More...
 

Macro Definition Documentation

◆ CY_USBFS_DEV_ENDPOINT_TRANSFER_ERROR

#define CY_USBFS_DEV_ENDPOINT_TRANSFER_ERROR   (0x1U)

An error occurred during a USB transfer.

For an IN transaction, this indicates a "no response" from the HOST scenario. For an OUT transaction, this represents a "PID or CRC error" or the bit-stuff error scenario.

◆ CY_USBFS_DEV_ENDPOINT_SAME_DATA_TOGGLE

#define CY_USBFS_DEV_ENDPOINT_SAME_DATA_TOGGLE   (0x2U)

The data toggle bit remains the same.

The received OUT packet has the same data toggle bit that the previous packet had. This indicates that the Host retransmitted the packet.