Drivers with interrupts: adding sleep deep locking
Any driver with attach or async API should be considered for deep sleep. Add locking to those that require in most cases high-frequency clocks: - CAN - I2C - SPI - Serial - Ticker/Timeout/Timer |
---|
|
drivers/CAN.cpp |
---|
drivers/CAN.h |
---|
drivers/I2C.cpp |
---|
drivers/I2C.h |
---|
drivers/SPI.cpp |
---|
drivers/SPI.h |
---|
drivers/SerialBase.cpp |
---|
drivers/SerialBase.h |
---|
drivers/Ticker.cpp |
---|
drivers/Ticker.h |
---|
drivers/Timeout.h |
---|
drivers/Timer.cpp |
---|
drivers/Timer.h |
---|