Macros | |
#define | USBEndpointDescriptor_ADDRESS(direction, number) (((direction & 0x01) << 7) | (number & 0xF)) |
This section lists macro for USB endpoint address definition.
#define USBEndpointDescriptor_ADDRESS | ( | direction, | |
number | |||
) | (((direction & 0x01) << 7) | (number & 0xF)) |
Calculates the address of an endpoint given its number and direction
direction | USB endpoint direction definition |
number | USB endpoint number |
Definition at line 415 of file USBDescriptors.h.