summaryrefslogtreecommitdiff
path: root/src/drivers/TwiMaster.cpp
AgeCommit message (Collapse)AuthorFilesLines
2020-11-15Include cleanup: driversokaestne1-3/+3
2020-10-23Workaround for bug https://github.com/JF002/Pinetime/issues/79 until a ↵JF1-10/+85
better fix is found. When the driver is stuck in an infinite loop for more than ~2.5ms, the TWI device is re-init and the transaction is retried. Read() and Write() return an error code.
2020-09-13Fix race conditions during sleep/wakeup, where SPI/TWI could be disabled ↵JF1-1/+3
while transaction were in progress (https://github.com/JF002/Pinetime/issues/60).
2020-08-22Re-implement sleep/wakeup for touch panel, display, NOR Flash, SPI and TWI.JF1-1/+13
2020-07-21correct include headerfrederic lesur LESUR Frederic1-2/+2
2020-07-21correct bad including of sdk filesfrederic lesur LESUR Frederic1-2/+2
(cherry picked from commit 8510e4436f6a2ac7b53fe8cb5010acb840c743b8)
2020-07-19New implementation of the I²C/TWI driver.JF1-0/+140
Fix reset timing and add dummy reading in Cst816S to fix init error on some devices.