24.3.1.1 Configure the Clock CLK_RTC

To configure CLK_RTC, follow these steps:

  1. Configure the desired oscillator to operate as required, in the Clock Controller peripheral (CLKCTRL).
  2. Write the Clock Select bits (CLKSEL) in the Clock Selection register (RTC.CLKSEL) accordingly.

The CLK_RTC clock configuration is used by both RTC and PIT functionality.