diff options
| author | hathach <[email protected]> | 2024-07-31 17:10:43 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-07-31 17:10:43 +0700 |
| commit | ce0fdc56097efda926c2c3776eec345c920b6cc6 (patch) | |
| tree | 1e12d2ed794f2b58a6ba260b0124c6df9b5f71a6 /src/portable/st/stm32_fsdev/fsdev_common.h | |
| parent | ee831d27ac692d33ea6240b8bce24dc98f3bf74b (diff) | |
refactor dcd_ep_ctr_handler
Diffstat (limited to 'src/portable/st/stm32_fsdev/fsdev_common.h')
| -rw-r--r-- | src/portable/st/stm32_fsdev/fsdev_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/portable/st/stm32_fsdev/fsdev_common.h b/src/portable/st/stm32_fsdev/fsdev_common.h index 4ada26895..dd030652b 100644 --- a/src/portable/st/stm32_fsdev/fsdev_common.h +++ b/src/portable/st/stm32_fsdev/fsdev_common.h @@ -167,6 +167,8 @@ typedef enum { //--------------------------------------------------------------------+ // Endpoint +// - CTR is write 0 to clear +// - DTOG and STAT are write 1 to toggle //--------------------------------------------------------------------+ TU_ATTR_ALWAYS_INLINE static inline void ep_write(uint32_t ep_id, uint32_t value) { |
