4.4.6.1.1 Definitions
#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.
#define GET_INTERFACE_REQUEST_NUMBER_MASK (0xffu)
Mask for the interface number in the wIndex field of the setup request.
#define GET_INTERFACE_REQUEST_WVALUE 0u
Value for the wValue field of the setup request.
#define GET_INTERFACE_RESPONSE_SIZE 1u
Size of the response to the Get Interface request.