PSoC 6 Peripheral Driver Library
cy_stc_usb_dev_ep_config_t Struct Reference

Description

Data Endpoint Configuration Structure.

Data Fields

bool enableEndpoint
 Defines if the endpoint becomes active after configuration.
 
bool allocBuffer
 Defines if the endpoint needs buffer allocation.
 
uint16_t maxPacketSize
 The endpoint max packet size.
 
uint16_t bufferSize
 The endpoint buffer size (the biggest max packet size across all alternate for this endpoint)
 
uint8_t endpointAddr
 The endpoint address (number plus direction bit)
 
uint8_t attributes
 The endpoint attributes.