Microchip® Advanced Software Framework

freq_detect.h File Reference

Oscillator Frequency detection.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

Functions

uint32_t freq_detect_start (void)
 Detects the frequency. More...
 
External routine used to detect frequency
void freq_detect_iface_ref_cnt_reset (void)
 Callback used to reset the counter of the reference's oscillator. More...
 
int freq_detect_iface_ref_cnt_value (void)
 Callback used to read the counter value of the reference's oscillator. More...
 
void freq_detect_iface_target_cnt_reset (void)
 Callback used to reset the counter of the target oscillator. More...
 
int freq_detetc_iface_target_cnt_value (void)
 Callback used to read the counter value of the target oscillator. More...