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 1. Members
Type Name Description
bool clear_on_match

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

uint32_t compare_values[]

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

enum rtc_count_mode mode

Select the operation mode of the RTC

enum rtc_count_prescaler prescaler

Input clock prescaler for the RTC module