15.6.1.2 Struct rtc_calendar_config

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

Table 15-5. Members
TypeNameDescription
struct rtc_calendar_alarm_timealarm[]

Alarm values

boolclear_on_match

If true, clears the clock on alarm match

boolclock_24h

If true, time is represented in 24 hour mode

enum rtc_calendar_prescalerprescaler

Input clock prescaler for the RTC module

uint16_tyear_init_value

Initial year for counter value 0