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_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 start-up 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_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 start-up time.
Referenced by configure_osc32k(), system_clock_init(), system_clock_source_xosc_get_config_defaults(), and system_clock_source_xosc_set_config().