arduino / arduino/ArduinoCore-avr
AVR 16-bit register access must be protected
Open
- Dominant language
- C
- Stars
- 1.5k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
Please see http://www.atmel.com/Images/doc1493.pdf and http://stackoverflow.com/questions/14161918/does-avr-gcc-properly-works-with-16-bit-avr-i-o-registers
https://github.com/arduino/Arduino/blob/master/hardware/arduino/cores/arduino/wiring_analog.c#L86
Needs to be atomic.
There might be more 16-bit register reads that have the same issue.
Cheers!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.