Has the same functionality between atsam4s and atsam4e.
Has two different types of interrupts:
RTTINC (Real-time Timer Increment)
ALMS (Alarm)
RTTINC can only use SLCK and has a 16-bit prescaler available
ALMS can be set using the 1HZ or SLCK clocks and has a 32-bit counter. When using the SLCK, the 16-bit prescaler can also be used.
The advantage of this timer is that it can handle very long durations (2^32 or about 136 years). I'm interested in using this timer because it frees up TC channels on atsam4s_a and atsam4s_b which only have 3 TC channels.
Should be similar to #18
Has the same functionality between atsam4s and atsam4e.
Has two different types of interrupts:
RTTINC can only use SLCK and has a 16-bit prescaler available
ALMS can be set using the 1HZ or SLCK clocks and has a 32-bit counter. When using the SLCK, the 16-bit prescaler can also be used.
The advantage of this timer is that it can handle very long durations (2^32 or about 136 years). I'm interested in using this timer because it frees up TC channels on atsam4s_a and atsam4s_b which only have 3 TC channels.
atsamd Mode 0 looks similar to RTT with the 32-bit counter: https://github.com/atsamd-rs/atsamd/blob/master/hal/src/common/rtc.rs