summaryrefslogtreecommitdiffstats
path: root/platforms/chibios/drivers/i2c_master.c
Commit message (Collapse)AuthorAgeFilesLines
* ChibiOS: use correct status codes in i2c_master.c (#17808)Stefan Kerkmann2022-07-281-2/+2
| | | | 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.
* Chibios: Stop I2C peripheral on transaction error (#17798)Stefan Kerkmann2022-07-261-15/+24
| | | | | | | | | | | | | | 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>
* Added support for Wb32fq95 (#16871)Joy Lee2022-05-231-1/+1
|
* Format code according to conventions (#16322)QMK Bot2022-02-121-1/+3
|
* Tidy up existing i2c_master implementations (#15376)Joel Challis2021-12-021-0/+59
| | | | | * Move chibios defines out of header * Make some avr defines internal
* Westberrytech pr (#14422)Joy Lee2021-11-271-0/+3
| | | | | | | * Added support for WB32 MCU * Modified eeprom_wb32.c * Remove the eeprom_wb32-related code
* Fix i2c_readReg16 (#14730)Joel Challis2021-10-071-1/+1
|
* i2c_master: Add support for reading/writing to 16-bit registers (#14289)Ryan2021-10-071-1/+24
|
* Make ChibiOS PAL interactions less STM32 specific - Round 2 (#14456)Joel Challis2021-09-161-2/+2
|
* Refactor use of _STM32_ defines (#14439)Joel Challis2021-09-151-2/+2
|
* Align ChibiOS I2C defs with other drivers (#14399)Joel Challis2021-09-121-6/+6
| | | | | | | | | * 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>
* Relocate platform specific drivers (#13894)Joel Challis2021-08-171-0/+121
* Relocate platform specific drivers * Move stm eeprom * Tidy up slightly