mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-10-01 01:45:38 -04:00
7c9dfaf45a
Signed-off-by: Joachim Strömbergson <joachim@assured.se> |
||
---|---|---|
.. | ||
rtl | ||
tb | ||
toolruns | ||
README.md |
timer
A simple timer with prescaler.
Introduction
This core implements a simple timer with a prescaler. The prescaler allows measurement of time durations rather than cycles. If for example setting the prescaler to the clock frequency in Hertz, the timer will count seconds.
Details
The timer counter and the prescaler counter are both 32 bits. When enabled the counter counts down one integer value per cycle.