qmk_firmware/platforms/chibios/drivers
Sergey Vlasov 81ca83296f
analog.c: Fix `pinToMux()` for STM32F0xx (#19658)
The `adc_read()` code for STM32F0xx expects to get the 0-based channel
number in `mux.input`, but the `pinToMux()` code for STM32F0xx was
attempting to pass the CHSELR bit mask in that field, which resulted in
selecting a wrong channel, therefore `analogReadPin()` did not work
properly for the STM32F0xx chips.  Fix `pinToMux()` to put the channel
number in that field (this matches the behavior for other supported
chips and also allows selection of channels 16...18, which can be used
to access the builtin temperature, reference voltage and VBAT sensors).
2023-01-25 01:47:55 +00:00
..
eeprom
flash
ps2
vendor/RP/RP2040 [Bug] rp2040: fix timer wrap deadlock in ws2812 vendor driver (#19652) 2023-01-23 22:24:21 +01:00
wear_leveling
analog.c analog.c: Fix `pinToMux()` for STM32F0xx (#19658) 2023-01-25 01:47:55 +00:00
analog.h
audio_dac.h
audio_dac_additive.c Fix functions with empty params (#19647) 2023-01-20 16:21:17 +00:00
audio_dac_basic.c Fix functions with empty params (#19647) 2023-01-20 16:21:17 +00:00
audio_pwm.h
audio_pwm_hardware.c
audio_pwm_software.c
i2c_master.c
i2c_master.h
serial.c
serial_protocol.c
serial_protocol.h
serial_usart.c Update ChibiOS[-Contrib], SIO driver, configs (#17915) 2023-01-12 21:47:36 +11:00
serial_usart.h
spi_master.c
spi_master.h
uart.c Corrections to uart driver for Chibios platform (#19075) 2023-01-24 07:05:47 +11:00
uart.h Corrections to uart driver for Chibios platform (#19075) 2023-01-24 07:05:47 +11:00
usbpd_stm32g4.c
ws2812.c
ws2812_pwm.c
ws2812_spi.c