mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-27 02:56:33 +06:00
0a1bf7f6aa
* Support using a timer for wait_us() on ChibiOS-based boards (#12198) There are spare GPT timers that can be used to get a more accurate wait_ms() time. This is required for the matrix scan unselect delay (30µs) to be shorter than the system tick rate of 100µs. This is limited to the maximum GPT duration of 65535 so values above that will automatically use the previous implementation based on the system tick. Using a specific timer means it can't be shared by another thread at the same time so when wait_us() is called from anything other than the main thread it will use the system tick implementation too. * Update tmk_core/common/chibios/wait.c * Update tmk_core/common/chibios/wait.c Co-authored-by: Joel Challis <git@zvecr.com> |
||
---|---|---|
.. | ||
arm_atsam | ||
avr | ||
chibios | ||
test | ||
atomic_util.h | ||
bootloader.h | ||
eeprom.h | ||
gpio.h | ||
host_driver.h | ||
host.c | ||
host.h | ||
pin_defs.h | ||
progmem.h | ||
raw_hid.h | ||
report.c | ||
report.h | ||
sleep_led.h | ||
suspend.h | ||
sync_timer.c | ||
sync_timer.h | ||
timer.h | ||
usb_util.c | ||
usb_util.h | ||
virtser.h | ||
wait.h |