summaryrefslogtreecommitdiff
path: root/platforms/avr/drivers/i2c_master.c
AgeCommit message (Collapse)Author
2024-01-17I2C driver cleanup (#21273)David Hoelscher
* remove i2c_start and i2c_stop from i2c drivers * remove static i2c_address variable from chibios i2c driver
2024-01-16i2c: rename read/write register functions (#22905)Ryan
2023-03-23Tidy up duplication of MIN/MAX fallback implementations (#20236)Joel Challis
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