summaryrefslogtreecommitdiff
path: root/platforms/avr/drivers/i2c_master.c
AgeCommit message (Collapse)Author
2022-06-22Fix AVR I2C master 1ms timeout (#17174)Daniel Kao
* avr i2c_master: Fix 1ms timeout i2c_start() produces a minimum time_slice of 1ms for use as timeout value. The timer granularity is 1ms, it is entirely possible for timer_count to tick up immediately after the last timer read and falsely trigger timeout with a '>= 1' comparison. * avr/drivers/i2c_master: Use timer_elapsed()
2022-02-12Format code according to conventions (#16322)QMK Bot
2021-12-02Tidy up existing i2c_master implementations (#15376)Joel Challis
* Move chibios defines out of header * Make some avr defines internal
2021-10-07i2c_master: Add support for reading/writing to 16-bit registers (#14289)Ryan
2021-08-17Relocate platform specific drivers (#13894)Joel Challis
* Relocate platform specific drivers * Move stm eeprom * Tidy up slightly