aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/TwiMaster.h
Commit message (Collapse)AuthorAgeFilesLines
* Simplify parameters and cleanupRiku Isokoski2021-08-161-12/+7
|
* Optimize twiMasterRiku Isokoski2021-08-091-1/+3
|
* Move most of the code from the constructor of the objects statically ↵Jean-François Milants2021-06-121-1/+1
| | | | initialized in main() into Start()/Init() functions to avoid Static Initialization Order Fiasco (https://en.cppreference.com/w/cpp/language/siof). See https://github.com/JF002/InfiniTime/pull/415#issuecomment-859004238.
* Changed access modified indentationAvamander2021-04-241-2/+2
|
* Reformatted all the files according to clang-format styleAvamander2021-04-241-29/+28
|
* 0.16.0 TWI problems fixJoaquim2021-04-101-4/+10
| | | | | | | | More memory for freertos heap and timer stack Fix warning in watchface Fix number of bytes read by cst816 Debug app to show freertos tasks Increased the number of bytes of the twi write buffer
* TwiMaster is now based on the NRFX TWI driver, as it handles more edge cases ↵Jean-François Milants2021-04-081-11/+3
| | | | | | and workarounds for errors on the bus. Reset the TWI bus after the soft-reset of the motion sensor to workaround issues on the TWI bus.
* fix TWI includesokaestne2020-11-161-0/+2
|
* Include cleanup: driversokaestne2020-11-151-2/+0
|
* Workaround for bug https://github.com/JF002/Pinetime/issues/79 until a ↵JF2020-10-231-5/+11
| | | | | | | | 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.
* Re-implement sleep/wakeup for touch panel, display, NOR Flash, SPI and TWI.JF2020-08-221-0/+3
|
* New implementation of the I²C/TWI driver.JF2020-07-191-0/+38
Fix reset timing and add dummy reading in Cst816S to fix init error on some devices.