Configuration structure for XOSC32K.
External 32KHz oscillator clock configuration structure.
#include <clock_feature.h>
Data Fields | |
enum system_clock_xosc32k_failure_detector_prescaler | clock_failure_detector_prescaler |
Clock failure detector prescaler from OSCULP32K. More... | |
bool | enable_1khz_output |
Enable 1KHz output. More... | |
bool | enable_32khz_output |
Enable 32KHz output. More... | |
bool | enable_clock_failure_detector |
Enable clock failure detector. More... | |
bool | enable_clock_failure_detector_event_outut |
Enable clock failure detector event output. More... | |
bool | enable_clock_switch_back |
Enable clock switch back. More... | |
enum system_clock_external | external_clock |
External clock type. More... | |
uint32_t | frequency |
External clock/crystal frequency. More... | |
bool | on_demand |
Run On Demand. More... | |
bool | run_in_standby |
Keep the XOSC32K enabled in standby sleep mode. More... | |
enum system_xosc32k_startup | startup_time |
Crystal oscillator startup time. More... | |
bool | write_once |
Lock configuration after it has been written. More... | |
enum system_clock_xosc32k_failure_detector_prescaler system_clock_source_xosc32k_config::clock_failure_detector_prescaler |
Clock failure detector prescaler from OSCULP32K.
Referenced by system_clock_init(), system_clock_source_xosc32k_get_config_defaults(), and system_clock_source_xosc32k_set_config().
bool system_clock_source_xosc32k_config::enable_1khz_output |
Enable 1KHz output.
Referenced by system_clock_init(), system_clock_source_xosc32k_get_config_defaults(), and system_clock_source_xosc32k_set_config().
bool system_clock_source_xosc32k_config::enable_32khz_output |
Enable 32KHz output.
Referenced by system_clock_init(), system_clock_source_xosc32k_get_config_defaults(), and system_clock_source_xosc32k_set_config().
bool system_clock_source_xosc32k_config::enable_clock_failure_detector |
Enable clock failure detector.
Referenced by system_clock_init(), system_clock_source_xosc32k_get_config_defaults(), and system_clock_source_xosc32k_set_config().
bool system_clock_source_xosc32k_config::enable_clock_failure_detector_event_outut |
Enable clock failure detector event output.
Referenced by system_clock_init(), system_clock_source_xosc32k_get_config_defaults(), and system_clock_source_xosc32k_set_config().
bool system_clock_source_xosc32k_config::enable_clock_switch_back |
Enable clock switch back.
Referenced by system_clock_init(), system_clock_source_xosc32k_get_config_defaults(), and system_clock_source_xosc32k_set_config().
enum system_clock_external system_clock_source_xosc32k_config::external_clock |
External clock type.
Referenced by system_clock_init(), system_clock_source_xosc32k_get_config_defaults(), and system_clock_source_xosc32k_set_config().
uint32_t system_clock_source_xosc32k_config::frequency |
External clock/crystal frequency.
Referenced by system_clock_init(), system_clock_source_xosc32k_get_config_defaults(), and system_clock_source_xosc32k_set_config().
bool system_clock_source_xosc32k_config::on_demand |
Run On Demand.
If this is set the XOSC32K won't run until requested by a peripheral
Referenced by system_clock_init(), system_clock_source_xosc32k_get_config_defaults(), and system_clock_source_xosc32k_set_config().
bool system_clock_source_xosc32k_config::run_in_standby |
Keep the XOSC32K enabled in standby sleep mode.
Referenced by system_clock_init(), system_clock_source_xosc32k_get_config_defaults(), and system_clock_source_xosc32k_set_config().
enum system_xosc32k_startup system_clock_source_xosc32k_config::startup_time |
Crystal oscillator startup time.
Referenced by system_clock_init(), system_clock_source_xosc32k_get_config_defaults(), and system_clock_source_xosc32k_set_config().
bool system_clock_source_xosc32k_config::write_once |
Lock configuration after it has been written.
A device reset will release the lock
Referenced by system_clock_source_xosc32k_get_config_defaults(), and system_clock_source_xosc32k_set_config().