1
0
Fork 0
forked from forks/qmk_firmware
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 NVRAM refactor, phase 1. (#18969) 2022-11-23 08:50:19 +00:00
flash NVRAM refactor, phase 1. (#18969) 2022-11-23 08:50:19 +00:00
ps2 Relocate PS2 code (#14895) 2021-10-20 21:18:49 +01:00
vendor/RP/RP2040 [Bug] rp2040: fix timer wrap deadlock in ws2812 vendor driver (#19652) 2023-01-23 22:24:21 +01:00
wear_leveling Fixup EFL and F4's sector selection. (#19221) 2022-12-02 21:55:28 +11:00
analog.c analog.c: Fix pinToMux() for STM32F0xx (#19658) 2023-01-25 01:47:55 +00:00
analog.h analog.[ch]: remove unnecessary includes (#16471) 2022-03-04 14:56:59 +11:00
audio_dac.h Move Audio drivers from quantum to platform drivers folder (#14308) 2021-10-06 12:01:45 +11:00
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 Move Audio drivers from quantum to platform drivers folder (#14308) 2021-10-06 12:01:45 +11:00
audio_pwm_hardware.c [Core] Adjust PWM hardware audio driver for RP2040 (#17723) 2022-10-27 19:26:16 +02:00
audio_pwm_software.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
i2c_master.c ChibiOS: use correct status codes in i2c_master.c (#17808) 2022-07-28 02:02:10 +01:00
i2c_master.h Tidy up existing i2c_master implementations (#15376) 2021-12-02 14:32:31 +00:00
serial.c [Core] Use polled waiting on ChibiOS platforms that support it (#17607) 2022-07-11 15:17:05 +02:00
serial_protocol.c [Core] Serial-protocol: always clear receive queue on main half of split keyboard (#18419) 2022-10-03 18:23:45 +02: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 Update ChibiOS[-Contrib], SIO driver, configs (#17915) 2023-01-12 21:47:36 +11: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
spi_master.c Post-bootloader EFL/SPI fixes. (#17661) 2022-07-14 00:41:08 +10:00
spi_master.h Refactor use of _STM32_ defines (#14439) 2021-09-15 11:19:51 +10:00
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 Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
ws2812.c Added ws2812_spi support for WB32 MCU (#17143) 2022-08-13 18:09:57 -07:00
ws2812_pwm.c ws2812: replace RGBLED_NUM with driver-owned constant to decouple driver from RGBLEDs/RGBMATRIX defines (#18036) 2022-10-21 08:17:51 +11:00
ws2812_spi.c ws2812: replace RGBLED_NUM with driver-owned constant to decouple driver from RGBLEDs/RGBMATRIX defines (#18036) 2022-10-21 08:17:51 +11:00