File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
src/portable/st/stm32_fsdev Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 119
119
// Volatile is also needed to prevent the optimizer from changing access to 32-bit (as 32-bit access is forbidden)
120
120
static __IO uint16_t * const pma = (__IO uint16_t * )USB_PMAADDR ;
121
121
122
- // This array maps the endpoint address to a endpoint register in hardware
123
- // By default the tinyusb stack chooses the endpoint register using the endpoint number
124
- // However when using ISOCHRONOUS endpoints, the entire endpoint register (RX _and_ TX)
125
- // are used for a double buffer in a single direction. If you now want to use the same endpoint number with
126
- // different directions (e.g. 0x02 and 0x82), they would be mapped to the same register
127
- // In this case, this serves as a crude helper to overcome this limitation by implementing
128
- // this callback and defining a custom mapping in your application
129
- TU_ATTR_WEAK uint8_t tu_stm32_edpt_number_cb (uint8_t addr );
130
-
131
122
// This callback is called on SOF and can be used to e.g. capture a timer value for timing purposes
132
123
TU_ATTR_WEAK void tu_stm32_sof_cb (void );
133
124
You can’t perform that action at this time.
0 commit comments