arduino / arduino/ArduinoCore-avr
Caterina leaves UDIEN and UDINT non-zero
Open
- Dominant language
- C
- Stars
- 1.5k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
I have some code that does not use USB but does have some interrupt handlers that were refusing to fire. Turns out the code works fine if I include USB stuff but not if I don't. After much digging, it seems that Caterina leaves UDIEN=0x09 and UDINT=0x14 after exiting. I think it should leave USB in the state it would be in immediately after a reset, in particular with these two registers containing 0.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.