Microchip® Advanced Software Framework

freqm_config Struct Reference

FREQM module configuration structure.

Configuration structure for a Frequency Meter.

#include <freqm.h>

Data Fields

enum gclk_generator msr_clock_source
 GCLK source select for measurement. More...
 
uint16_t ref_clock_circles
 Measurement duration in number of reference clock cycles. More...
 
enum gclk_generator ref_clock_source
 GCLK source select for reference. More...
 

enum gclk_generator freqm_config::msr_clock_source

GCLK source select for measurement.

Referenced by freqm_get_config_defaults(), and freqm_init().

uint16_t freqm_config::ref_clock_circles

Measurement duration in number of reference clock cycles.

Range 1~255

Referenced by freqm_get_config_defaults(), and freqm_init().

enum gclk_generator freqm_config::ref_clock_source

GCLK source select for reference.

Referenced by freqm_get_config_defaults(), and freqm_init().