mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-27 02:56:33 +06:00
6e984a8b5e
Microsecond (us) delays are now handled by a busy wait loop according to MCU frequency. This replaces the system counter method which had an overhead of around 12us. TC5 device and supporting routines removed as it was the old us delay counter. wait_ms is now properly a macro to CLK_delay_ms. wait_us is now properly a macro to CLK_delay_us. Removed CLK_get_us as it has no use. All calls to CLK_get_ms() have been replaced by timer_read64() with corrected typing. All calls to CLK_delay_ms() have been replaced by wait_ms(). All calls to CLK_delay_us() have been replaced by wait_us() and timings verified or updated as needed after review on scope. Corrected typing of variables using 64bit ms timer readings if needed. |
||
---|---|---|
.. | ||
arm_atsam | ||
avr | ||
chibios | ||
mbed | ||
test | ||
action_code.h | ||
action_layer.c | ||
action_layer.h | ||
action_macro.c | ||
action_macro.h | ||
action_tapping.c | ||
action_tapping.h | ||
action_util.c | ||
action_util.h | ||
action.c | ||
action.h | ||
backlight.c | ||
backlight.h | ||
bootloader.h | ||
bootmagic.c | ||
bootmagic.h | ||
command.c | ||
command.h | ||
debug.c | ||
debug.h | ||
eeconfig.c | ||
eeconfig.h | ||
eeprom.h | ||
host_driver.h | ||
host.c | ||
host.h | ||
keyboard.c | ||
keyboard.h | ||
keycode.h | ||
led.h | ||
magic.c | ||
magic.h | ||
matrix.h | ||
mousekey.c | ||
mousekey.h | ||
nodebug.h | ||
print.c | ||
print.h | ||
progmem.h | ||
raw_hid.h | ||
report.c | ||
report.h | ||
sendchar_null.c | ||
sendchar_uart.c | ||
sendchar.h | ||
sleep_led.h | ||
suspend.h | ||
timer.h | ||
uart.c | ||
uart.h | ||
util.c | ||
util.h | ||
virtser.h | ||
wait.h |