IceCube display
LED display to show IceCube event data
All Data Structures Files Functions Variables Enumerations Enumerator Macros Modules Pages
ep_config_t Struct Reference

Endpoint configuration struct. More...

Data Fields

uint8_t num
 Endpoint number.
 
enum ep_type_t type
 Endpoint type.
 
enum ep_direction_t dir
 Endpoint data flow direction.
 
uint16_t size
 Endpoint buffer size.
 
void(* init )()
 Endpoint reset callback.
 

Detailed Description

Endpoint configuration struct.

For the default control endpoint (EP 0) the following config could be used:

static const struct ep_hw_config_t EP_0 = {
// Endpoint number 0
0,
// ... is a control endpoint
// ... which is always bidirectional
// ... with a 64B buffer, the maximum allowed by USB 2.0 for a full-speed device.
64
};

The documentation for this struct was generated from the following file: