Microchip® Advanced Software Framework

system_clock_source_osc32k_config Struct Reference

Configuration structure for OSC32K.

Internal 32KHz (nominal) oscillator configuration structure.

#include <clock_feature.h>

Data Fields

bool enable_1khz_output
 Enable 1KHz output. More...
 
bool enable_32khz_output
 Enable 32KHz output. More...
 
bool on_demand
 Run On Demand. More...
 
bool run_in_standby
 Keep the OSC32K enabled in standby sleep mode. More...
 
enum system_osc32k_startup startup_time
 Startup time. More...
 
bool write_once
 Lock configuration after it has been written, a device reset will release the lock. More...
 

bool system_clock_source_osc32k_config::enable_1khz_output
bool system_clock_source_osc32k_config::enable_32khz_output
bool system_clock_source_osc32k_config::on_demand

Run On Demand.

If this is set the OSC32K won't run until requested by a peripheral

Referenced by system_clock_init(), system_clock_source_osc32k_get_config_defaults(), and system_clock_source_osc32k_set_config().

bool system_clock_source_osc32k_config::run_in_standby

Keep the OSC32K enabled in standby sleep mode.

Referenced by system_clock_init(), system_clock_source_osc32k_get_config_defaults(), and system_clock_source_osc32k_set_config().

enum system_osc32k_startup system_clock_source_osc32k_config::startup_time
bool system_clock_source_osc32k_config::write_once

Lock configuration after it has been written, a device reset will release the lock.

Referenced by system_clock_source_osc32k_get_config_defaults(), and system_clock_source_osc32k_set_config().