1
0
Fork 0

ARM backlight - timer implementation (#8291)

* Add GPT timer based backlight driver

* Update to tim15 to avoid conflict with audio

* Update quantum/backlight/backlight_timer.c
This commit is contained in:
Joel Challis 2020-08-15 22:22:11 +01:00 committed by James Young
parent 568cae28ec
commit 21a00b7f02
3 changed files with 169 additions and 2 deletions

View file

@ -144,7 +144,7 @@
#define STM32_GPT_USE_TIM6 TRUE
#define STM32_GPT_USE_TIM7 TRUE
#define STM32_GPT_USE_TIM8 TRUE
#define STM32_GPT_USE_TIM15 FALSE
#define STM32_GPT_USE_TIM15 TRUE
#define STM32_GPT_USE_TIM16 FALSE
#define STM32_GPT_USE_TIM17 FALSE
#define STM32_GPT_TIM1_IRQ_PRIORITY 7