Microchip® Advanced Software Framework

system_clock_source_osc16m_config Struct Reference

Configuration structure for OSC16M.

Internal 16MHz (nominal) oscillator configuration structure.

#include <clock_feature.h>

Data Fields

enum system_osc16m_fsel fsel
 Internal 16MHz RC oscillator prescaler. More...
 
bool on_demand
 Run On Demand. More...
 
bool run_in_standby
 Keep the OSC16M enabled in standby sleep mode. More...
 

enum system_osc16m_fsel system_clock_source_osc16m_config::fsel
bool system_clock_source_osc16m_config::on_demand

Run On Demand.

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

Referenced by _system_clock_source_osc16m_freq_sel(), main_clock_select_osc16m(), system_clock_source_osc16m_get_config_defaults(), and system_clock_source_osc16m_set_config().

bool system_clock_source_osc16m_config::run_in_standby