summaryrefslogtreecommitdiff
path: root/platforms/chibios/drivers/i2c_master.c
AgeCommit message (Collapse)Author
2023-07-09drivers: remove direct `quantum.h` includes (#21473)Ryan
2022-07-28ChibiOS: use correct status codes in i2c_master.c (#17808)Stefan Kerkmann
msg_t is MSG_OK in the success case and either MSG_RESET or MSG_TIMEOUT in case of errors. So actually use them in the comparison.
2022-07-26Chibios: Stop I2C peripheral on transaction error (#17798)Stefan Kerkmann
From the ChibiOS HAL I2C driver pages: After a timeout the driver must be stopped and restarted because the bus is in an uncertain state. This commit does that stopping explicitly on any error that occurred, not only timeouts. As all the i2c functions restart the peripheral if necessary it is safe to do so. Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com> Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
2022-05-23Added support for Wb32fq95 (#16871)Joy Lee
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-11-27Westberrytech pr (#14422)Joy Lee
* Added support for WB32 MCU * Modified eeprom_wb32.c * Remove the eeprom_wb32-related code
2021-10-07Fix i2c_readReg16 (#14730)Joel Challis
2021-10-07i2c_master: Add support for reading/writing to 16-bit registers (#14289)Ryan
2021-09-16Make ChibiOS PAL interactions less STM32 specific - Round 2 (#14456)Joel Challis
2021-09-15Refactor use of _STM32_ defines (#14439)Joel Challis
2021-09-12Align ChibiOS I2C defs with other drivers (#14399)Joel Challis
* Align ChibiOS I2C defs with other drivers * Update keyboards/xelus/valor_frl_tkl/config.h Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
2021-08-17Relocate platform specific drivers (#13894)Joel Challis
* Relocate platform specific drivers * Move stm eeprom * Tidy up slightly