In this assignment, the digital input buffer on I/O pins will be disabled in order to reduce the current consumption. The current consumption will further be reduced when the USART TX pin is configured as a high impedance pin during no data transmission period.
In this assignment, the event system with the RTC overflow event signal, instead of the RTC overflow interrupt, will be used to trigger an ADC conversion.