Endpoint management definitions.
More...
Functions, macros and enums related to endpoint management when in USB Device mode. This module contains the endpoint management macros, as well as endpoint interrupt and data send/receive functions for various data types.
◆ ENDPOINT_CONTROLEP
#define ENDPOINT_CONTROLEP 0 |
Endpoint address for the default control endpoint, which always resides in address 0. This is defined for convenience to give more readable code when used with the endpoint macros.
◆ ENDPOINT_EPNUM_MASK
#define ENDPOINT_EPNUM_MASK 0x0F |
Endpoint number mask, for masking against endpoint addresses to retrieve the endpoint's numerical address in the device.