ArduinoCore-avr/libraries
Cristian Maglie 1e699c3600 Fix atomicity issues in SPI::beginTransaction and SPI::endTransaction (Andrew Kroll)
Previously, it could happen that SPI::beginTransaction was
interrupted by an ISR, while it is changing the SPI_AVR_EIMSK
register or interruptSave variable (it seems that there is
a small window after changing SPI_AVR_EIMSK where an interrupt
might still occur). If this happens, interruptSave is overwritten
with an invalid value, permanently disabling the pin interrupts.

To prevent this, disable interrupts globally while changing
these values.
2014-11-25 15:56:11 +01:00
..
EEPROM missing paragraph field in library.properties 2014-07-18 20:08:01 +02:00
SPI Fix atomicity issues in SPI::beginTransaction and SPI::endTransaction (Andrew Kroll) 2014-11-25 15:56:11 +01:00
SoftwareSerial missing paragraph field in library.properties 2014-07-18 20:08:01 +02:00
Wire missing paragraph field in library.properties 2014-07-18 20:08:01 +02:00