Microchip® Advanced Software Framework

system_clock_source_dfll_config Struct Reference

Configuration structure for DFLL.

DFLL oscillator configuration structure.

#include <clock_feature.h>

Data Fields

enum system_clock_dfll_chill_cycle chill_cycle
 Enable Chill Cycle. More...
 
uint8_t coarse_max_step
 Coarse adjustment maximum step size (Closed loop mode) More...
 
uint8_t coarse_value
 Coarse calibration value (Open loop mode) More...
 
uint16_t fine_max_step
 Fine adjustment maximum step size (Closed loop mode) More...
 
uint16_t fine_value
 Fine calibration value (Open loop mode) More...
 
enum system_clock_dfll_loop_mode loop_mode
 Loop mode. More...
 
uint16_t multiply_factor
 DFLL multiply factor (Closed loop mode. More...
 
bool on_demand
 Run On Demand. More...
 
enum system_clock_dfll_quick_lock quick_lock
 Enable Quick Lock. More...
 
enum
system_clock_dfll_stable_tracking 
stable_tracking
 DFLL tracking after fine lock. More...
 
enum system_clock_dfll_wakeup_lock wakeup_lock
 DFLL lock state on wakeup. More...
 

enum system_clock_dfll_chill_cycle system_clock_source_dfll_config::chill_cycle
uint8_t system_clock_source_dfll_config::coarse_max_step

Coarse adjustment maximum step size (Closed loop mode)

Referenced by system_clock_init(), system_clock_source_dfll_get_config_defaults(), and system_clock_source_dfll_set_config().

uint8_t system_clock_source_dfll_config::coarse_value
uint16_t system_clock_source_dfll_config::fine_max_step

Fine adjustment maximum step size (Closed loop mode)

Referenced by system_clock_init(), system_clock_source_dfll_get_config_defaults(), and system_clock_source_dfll_set_config().

uint16_t system_clock_source_dfll_config::fine_value
uint16_t system_clock_source_dfll_config::multiply_factor
bool system_clock_source_dfll_config::on_demand

Run On Demand.

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

Referenced by system_clock_init(), system_clock_source_dfll_get_config_defaults(), and system_clock_source_dfll_set_config().

enum system_clock_dfll_quick_lock system_clock_source_dfll_config::quick_lock
enum system_clock_dfll_stable_tracking system_clock_source_dfll_config::stable_tracking
enum system_clock_dfll_wakeup_lock system_clock_source_dfll_config::wakeup_lock