qmk-firmware/tmk_core/protocol/arm_atsam
patrickmt 6e984a8b5e Update to arm_atsam wait and timer routines
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.
2019-01-07 12:44:55 -08:00
..
usb Update to arm_atsam wait and timer routines 2019-01-07 12:44:55 -08:00
adc.c Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00
adc.h Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00
arm_atsam_protocol.h Update to arm_atsam wait and timer routines 2019-01-07 12:44:55 -08:00
clks.c Update to arm_atsam wait and timer routines 2019-01-07 12:44:55 -08:00
clks.h Update to arm_atsam wait and timer routines 2019-01-07 12:44:55 -08:00
d51_util.c Bringing Massdrop keyboard hardware configuration to keyboard level (#4593) 2018-12-10 11:28:06 -08:00
d51_util.h Bringing Massdrop keyboard hardware configuration to keyboard level (#4593) 2018-12-10 11:28:06 -08:00
i2c_master.c Update to arm_atsam wait and timer routines 2019-01-07 12:44:55 -08:00
i2c_master.h Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00
issi3733_driver.h Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00
led_matrix.c Update to arm_atsam wait and timer routines 2019-01-07 12:44:55 -08:00
led_matrix.h Vertical animation support for arm_atsam led_matrix (#4538) 2018-12-06 08:58:58 -08:00
main_arm_atsam.c Update to arm_atsam wait and timer routines 2019-01-07 12:44:55 -08:00
main_arm_atsam.h Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00
md_bootloader.h CTRL keyboard bootloader_jump support 2018-09-28 23:09:53 -04:00
spi.c Bringing Massdrop keyboard hardware configuration to keyboard level (#4593) 2018-12-10 11:28:06 -08:00
spi.h Bringing Massdrop keyboard hardware configuration to keyboard level (#4593) 2018-12-10 11:28:06 -08:00
startup.c CTRL keyboard bootloader_jump support 2018-09-28 23:09:53 -04:00
wait_api.h Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00