RTC Count configuration structure.
Configuration structure for the RTC instance. This structure should be initialized using the rtc_count_get_config_defaults() before any user configurations are set.
#include <rtc_count.h>
Data Fields | |
bool | clear_on_match |
If true, clears the counter value on compare match. More... | |
uint32_t | compare_values [RTC_NUM_OF_COMP16] |
Array of Compare values. More... | |
enum rtc_count_mode | mode |
Select the operation mode of the RTC. More... | |
enum rtc_count_prescaler | prescaler |
Input clock prescaler for the RTC module. More... | |
bool rtc_count_config::clear_on_match |
If true, clears the counter value on compare match.
Only available whilst running in 32-bit mode
Referenced by _rtc_count_set_config(), rtc_count_get_config_defaults(), and rtc_setup().
uint32_t rtc_count_config::compare_values[RTC_NUM_OF_COMP16] |
Array of Compare values.
Not all Compare values are available in 32-bit mode
Referenced by _rtc_count_set_config(), configure_rtc_count(), rtc_count_get_config_defaults(), rtc_setup(), run_rtc_count_test(), and test_event_gen_user_init().
enum rtc_count_mode rtc_count_config::mode |
Select the operation mode of the RTC.
Referenced by _rtc_count_set_config(), configure_rtc_count(), rtc_count_get_config_defaults(), rtc_count_init(), rtc_setup(), run_rtc_count_test(), sleepmgr_lock_mode(), sleepmgr_unlock_mode(), and test_event_gen_user_init().
enum rtc_count_prescaler rtc_count_config::prescaler |
Input clock prescaler for the RTC module.
Referenced by _rtc_count_set_config(), configure_rtc_count(), rtc_count_get_config_defaults(), rtc_setup(), run_rtc_count_test(), and test_event_gen_user_init().