keychron_qmk_firmware/platforms/chibios/drivers
Stefan Kerkmann 083b42068a
Chibios: Stop I2C peripheral on transaction error (#17798)
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-07-26 21:40:14 +02:00
..
eeprom Rework paths for eeprom locations. (#17326) 2022-06-08 09:42:35 +10:00
flash Rework paths for eeprom locations. (#17326) 2022-06-08 09:42:35 +10:00
ps2
vendor/RP/RP2040 [Core] Use polled waiting on ChibiOS platforms that support it (#17607) 2022-07-11 15:17:05 +02:00
wear_leveling Post-bootloader EFL/SPI fixes. (#17661) 2022-07-14 00:41:08 +10:00
analog.c analog.[ch]: remove unnecessary includes (#16471) 2022-03-04 14:56:59 +11:00
analog.h analog.[ch]: remove unnecessary includes (#16471) 2022-03-04 14:56:59 +11:00
audio_dac_additive.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
audio_dac_basic.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
audio_dac.h
audio_pwm_hardware.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
audio_pwm_software.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
audio_pwm.h
i2c_master.c Chibios: Stop I2C peripheral on transaction error (#17798) 2022-07-26 21:40:14 +02:00
i2c_master.h Tidy up existing i2c_master implementations (#15376) 2021-12-02 14:32:31 +00:00
serial_protocol.c [BUG] Fix deadlocks on disconnected secondary half (#17423) 2022-06-21 08:24:53 +10:00
serial_protocol.h [Core] Split ChibiOS usart split driver in protocol and hardware driver part (#16669) 2022-06-18 08:04:17 +10:00
serial_usart.c [Core] Add Raspberry Pi RP2040 support (#14877) 2022-06-30 13:19:27 +02:00
serial_usart.h [Core] Split ChibiOS usart split driver in protocol and hardware driver part (#16669) 2022-06-18 08:04:17 +10:00
serial.c [Core] Use polled waiting on ChibiOS platforms that support it (#17607) 2022-07-11 15:17:05 +02:00
spi_master.c Post-bootloader EFL/SPI fixes. (#17661) 2022-07-14 00:41:08 +10:00
spi_master.h
uart.c Added support for Wb32fq95 (#16871) 2022-05-23 15:57:24 +10:00
uart.h Westberrytech pr (#14422) 2021-11-27 09:28:18 +11:00
usbpd_stm32g4.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
ws2812_pwm.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
ws2812_spi.c ChibiOS 21.11.1 update. (#16251) 2022-03-07 21:04:22 +11:00
ws2812.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00