diff options
| author | HiFiPhile <[email protected]> | 2026-05-23 19:30:22 +0200 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2026-05-23 19:37:47 +0200 |
| commit | 420de14b50dc2b9c1ed7ba587ef22eb227739eee (patch) | |
| tree | ef1bca7a4ec6023aedcf3c050d6142c000b14e67 /examples/device/audio_test_multi_rate/src/plot_audio_samples.py | |
| parent | 1fc308fb87935e6260349d5721ee81c046b68461 (diff) | |
dcd/ch32hs: refactor transfer flow
Refactor the driver to follow USBFS style for easier maintenance.
Replace the old packet/response helpers with explicit queue and update paths for IN and OUT transfers.
Introduce transfer validity tracking and per-endpoint data toggle state.
Reset toggle state on init, close-all, endpoint close, clear-stall, and bus reset.
Initialize endpoint controls consistently in NAK + TOG_0 mode.
Tighten EP0 setup/status handling and route transfer IRQ processing through the transfer-flag path.
Stop enabling ISO_ACT in INT_EN and clear unhandled interrupt flags explicitly.
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'examples/device/audio_test_multi_rate/src/plot_audio_samples.py')
0 files changed, 0 insertions, 0 deletions
