Configuration structure for XOSC.
External oscillator clock configuration structure.
#include <clock_feature.h>
Data Fields | |
bool | auto_gain_control |
Enable automatic amplitude gain control. More... | |
enum system_clock_xosc_failure_detector_prescaler | clock_failure_detector_prescaler |
Clock failure detector prescaler from OSC48M for clock the CFD prescaler. 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 XOSC enabled in standby sleep mode. More... | |
enum system_xosc_startup | startup_time |
Crystal oscillator startup time. More... | |
bool system_clock_source_xosc_config::auto_gain_control |
Enable automatic amplitude gain control.
Referenced by system_clock_source_xosc_get_config_defaults(), and system_clock_source_xosc_set_config().
enum system_clock_xosc_failure_detector_prescaler system_clock_source_xosc_config::clock_failure_detector_prescaler |
Clock failure detector prescaler from OSC48M for clock the CFD prescaler.
Referenced by system_clock_init(), system_clock_source_xosc_get_config_defaults(), and system_clock_source_xosc_set_config().
bool system_clock_source_xosc_config::enable_clock_failure_detector |
Enable clock failure detector.
Referenced by system_clock_init(), system_clock_source_xosc_get_config_defaults(), and system_clock_source_xosc_set_config().
bool system_clock_source_xosc_config::enable_clock_failure_detector_event_outut |
Enable clock failure detector event output.
Referenced by system_clock_init(), system_clock_source_xosc_get_config_defaults(), and system_clock_source_xosc_set_config().
bool system_clock_source_xosc_config::enable_clock_switch_back |
Enable clock switch back.
Referenced by system_clock_init(), system_clock_source_xosc_get_config_defaults(), and system_clock_source_xosc_set_config().
enum system_clock_external system_clock_source_xosc_config::external_clock |
External clock type.
Referenced by system_clock_init(), system_clock_source_xosc_get_config_defaults(), and system_clock_source_xosc_set_config().
uint32_t system_clock_source_xosc_config::frequency |
External clock/crystal frequency.
Referenced by system_clock_init(), system_clock_source_xosc_get_config_defaults(), and system_clock_source_xosc_set_config().
bool system_clock_source_xosc_config::on_demand |
Run On Demand.
If this is set the XOSC won't run until requested by a peripheral
Referenced by system_clock_source_xosc_get_config_defaults(), and system_clock_source_xosc_set_config().
bool system_clock_source_xosc_config::run_in_standby |
Keep the XOSC enabled in standby sleep mode.
Referenced by system_clock_init(), system_clock_source_xosc_get_config_defaults(), and system_clock_source_xosc_set_config().
enum system_xosc_startup system_clock_source_xosc_config::startup_time |
Crystal oscillator startup time.
Referenced by system_clock_init(), system_clock_source_xosc_get_config_defaults(), and system_clock_source_xosc_set_config().