summaryrefslogtreecommitdiff
path: root/docs/html_extra/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-08-17 01:01:37 +0700
committerhathach <[email protected]>2026-08-18 20:51:21 +0700
commit073942589355676980ba401cb88c0eb9f065e468 (patch)
treea6447b4ee77f12a8127ea45d78fbfdc09c9e0337 /docs/html_extra/examples
parentaf7d199e73461c25555abbdc72441ab79eb74245 (diff)
usbd: split bus reset into start/end edge events
A driver that can see reset signalling begin has no way to say so: the only event carries the negotiated speed, which does not exist until the reset ends. On ChipIdea that left the stack believing it was still configured for the whole reset window - 3 ms at minimum, tens of milliseconds in practice - while the controller had already torn its endpoints down, so a class driver writing in that window primed a disabled endpoint over a zeroed queue head. Add DCD_EVENT_BUS_RESET_START for the leading edge and rename the existing event to DCD_EVENT_BUS_RESET_END, keeping DCD_EVENT_BUS_RESET as an alias. START is optional and END stays self-sufficient, so every other driver and the unit tests are untouched.
Diffstat (limited to 'docs/html_extra/examples')
0 files changed, 0 insertions, 0 deletions