This gits implements function millis()
known from
Arduino ecosystem.
What it does is that it counts number of milliseconds since the program started. It uses timer TA3, set to UP mode with
custom TA3CCR0
value.
When user runs function millis()
, it returns value from the counter.
This timer is set to UP mode. It means that the timer counts up to the value stored in TA3CCR0
register.