Initialize the endpoint.
int32_t usb_d_ep_init( const uint8_t ep, const uint8_t attr, const uint16_t max_pkt_size )
Type: const uint8_t
The endpoint address.
Type: const uint8_t
The endpoint attributes.
Type: const uint16_t
Max. packet size of EP0.
Type: int32_t
Operation status.
Success.
Error code.