aboutsummaryrefslogtreecommitdiffstats
path: root/src/atsam/timer.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-02-01 10:02:24 -0500
committerKevin O'Connor <kevin@koconnor.net>2019-02-06 22:03:09 -0500
commit55df8bf55f5ed9028aeb89616a2545fd0b635991 (patch)
tree2dcb821193091b09ca5577a246f88140fb4c30d2 /src/atsam/timer.c
parentc171b28a0bf10394e2aea9ddf0cd27dc180c72fe (diff)
downloadkutter-55df8bf55f5ed9028aeb89616a2545fd0b635991.tar.gz
kutter-55df8bf55f5ed9028aeb89616a2545fd0b635991.tar.xz
kutter-55df8bf55f5ed9028aeb89616a2545fd0b635991.zip
armcm_timer: Add a generic timer mechanism for ARM CortexM3/M4 chips
The ARM CortexM3 (and later) chips almost always have a 32bit timer in the "Debug and Watch Trace" (DWT) unit which resides within the cpu core itself. This timer is generally faster to access than timers located on the chip's peripheral bus. When combined with the standard ARM SysTick timer it provides a (generally) portable mechanism to implement Klipper's software timer mechanism. It's generally also faster than using the vendor specific timers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/atsam/timer.c')
0 files changed, 0 insertions, 0 deletions