Microchip® Advanced Software Framework

udd_sram_data Struct Reference

USB SRAM data about fifo, endpoint descriptor table and frame number.

The content of the USB SRAM can be:

  • modified by USB hardware by interface to signal endpoint status. Thereby, it is read by software.
  • modified by USB software to control endpoint. Thereby, it is read by hardware. This data section is volatile and the specific opcode read/modify/write must be used.

Data Fields

USB_EP_t ep_ctrl [2 *(USB_DEVICE_MAX_EP+1)]
 
uint32_t fifo [USB_DEVICE_MAX_EP+1]
 
uint16_t frame_number
 

USB_EP_t udd_sram_data::ep_ctrl[2 *(USB_DEVICE_MAX_EP+1)]
uint32_t udd_sram_data::fifo[USB_DEVICE_MAX_EP+1]
uint16_t udd_sram_data::frame_number