I have started working with the Curiosity nano eval board. I need to setup the RTC
for a 5 ms period. What is the best way to do this? I have the RTC periodic interrupt
setup code from the app notes using the 32768 external crystal.
Do I also need to set the prescaler in the configuration? Div 32 gives a 1 ms time period.
Do I use this in combination with the RTC.PITCTRLA register? I appreciate some numeric
Edited to add, I also need to use the UART at 9600 baud rate. I have the F_CPU set up at
3333333 for this. I am not clear on the difference between system clock and RTC.