Microchip® Advanced Software Framework

system_clock_source_osc8m_config Struct Reference

Configuration structure for OSC8M.

Internal 8MHz (nominal) oscillator configuration structure.

#include <clock_feature.h>

Data Fields

bool on_demand
 Run On Demand. More...
 
enum system_osc8m_div prescaler
 Internal 8MHz RC oscillator prescaler. More...
 
bool run_in_standby
 Keep the OSC8M enabled in standby sleep mode. More...
 

bool system_clock_source_osc8m_config::on_demand

Run On Demand.

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

Referenced by system_clock_init(), system_clock_source_osc8m_get_config_defaults(), and system_clock_source_osc8m_set_config().

enum system_osc8m_div system_clock_source_osc8m_config::prescaler
bool system_clock_source_osc8m_config::run_in_standby

Keep the OSC8M enabled in standby sleep mode.

Referenced by system_clock_init(), system_clock_source_osc8m_get_config_defaults(), and system_clock_source_osc8m_set_config().