14.7.1.1 Struct rtc_count_config

Configuration structure for the RTC instance. This structure should be initialized using the rtc_count_get_config_defaults() before any user configurations are set.

Table 14-4. Members
TypeNameDescription
boolclear_on_match

If true, clears the counter value on compare match. Only available whilst running in 32-bit mode

uint32_tcompare_values[]

Array of Compare values. Not all Compare values are available in 32-bit mode

enum rtc_count_modemode

Select the operation mode of the RTC

enum rtc_count_prescalerprescaler

Input clock prescaler for the RTC module