qmk_firmware/quantum/backlight
Mikkel Jeppesen e0a5056963
Made AVR backlight pwm resolution configurable (#7521)
* Made static backlight pwm resolution configurable

* Made breathing backlighting configurable too

* Finished my ifdef

* Ran clang-format

* Added missing semi-colon

* Solved weird behaviour by right-shifting the right amount

* Made breathing period scaled on actual pwm frequency

* Made the low end deadzone scaled on the top value

* Moved 'pwm_frequency' declaration outside ifdef

* Fixed 'never used' error

* Fixed 'never used' error

* Fixed breathing ISR to 120Hz

* Removed pwm_frequency constant
Constant is no longer needed since running the breathing ISR at a fixed 120Hz

* Re-add brightness limiting

* re-introduce scaling
2021-11-18 07:56:13 +11:00
..
backlight.c 2021 May 29 Breaking Changes Update (#13034) 2021-05-29 14:38:50 -07:00
backlight.h 2021 May 29 Breaking Changes Update (#13034) 2021-05-29 14:38:50 -07:00
backlight_avr.c Made AVR backlight pwm resolution configurable (#7521) 2021-11-18 07:56:13 +11:00
backlight_chibios.c fix typo in backlight code from #14439 (#14442) 2021-09-15 03:37:45 +01:00
backlight_driver_common.c Backlight - Carve out a better location for private driver functionality (#8329) 2020-03-07 12:09:49 +00:00
backlight_driver_common.h Backlight - Carve out a better location for private driver functionality (#8329) 2020-03-07 12:09:49 +00:00
backlight_software.c Backlight - Carve out a better location for private driver functionality (#8329) 2020-03-07 12:09:49 +00:00
backlight_timer.c ARM backlight - timer implementation (#8291) 2020-08-29 14:30:02 -07:00