14.7.3.1.1 Function rtc_count_get_config_defaults()

Gets the RTC default configurations.

void rtc_count_get_config_defaults( struct rtc_count_config *const config)

Initializes the configuration structure to default values. This function should be called at the start of any RTC initialization.

The default configuration is as follows:
  • Input clock divided by a factor of 1024

  • RTC in 32-bit mode

  • Clear on compare match off

  • Continuously sync count register off

  • No event source on

  • All compare values equal 0

  • Count read synchronization is enabled for SAM L22

Table 14-8. Parameters
Data directionParameter nameDescription

[out]

config

Configuration structure to be initialized to default values.