Microchip® Advanced Software Framework

freqm_config Struct Reference

Frequency Meter configuration structure.

Configuration structure for a Frequency Meter instance. This structure could be initialized by the freqm_get_config_defaults() function before being modified by the user application.

#include <freqm.h>

Data Fields

uint8_t duration
 The duration of a measurement, given in number of reference clock cycles. More...
 
uint8_t msr_clk
 Measurement Clock Source Selection. More...
 
uint8_t ref_clk
 Reference Clock Selection. More...
 

uint8_t freqm_config::duration

The duration of a measurement, given in number of reference clock cycles.

Referenced by freqm_get_config_defaults(), freqm_init(), and main().

uint8_t freqm_config::msr_clk

Measurement Clock Source Selection.

Referenced by freqm_get_config_defaults(), freqm_init(), and main().

uint8_t freqm_config::ref_clk

Reference Clock Selection.

Referenced by freqm_get_config_defaults(), freqm_init(), and main().