4.6.21.2 Macros
#define GET_STATUS_ENDPOINT_STALLED (1u << 0u)
Mask for the endpoint stall status in the first byte of the data stage of the setup request.
#define ENDPOINT_ADDRESS_MASK (0x7fu)
Mask for the endpoint address in the wIndex field of the setup request.
#define ENDPOINT_DIRECTION_BITPOSITION (7u)
Bit position for the endpoint direction in the wIndex field of the setup request.