Microchip® Advanced Software Framework

freqm.c File Reference

SAM Frequency Meter (FREQM) Driver.

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

#include "freqm.h"
#include <gclk.h>

Macros

#define FREQM_GCLK_ID_REF   (FREQM_GCLK_ID_MSR + 1)
 

Functions

enum freqm_status freqm_get_result_value (struct freqm_module *const module_inst, uint32_t *result)
 Read the measurement data result. More...
 
enum status_code freqm_init (struct freqm_module *const module_inst, Freqm *const hw, struct freqm_config *const config)
 Initializes a hardware FREQM module instance. More...
 

#define FREQM_GCLK_ID_REF   (FREQM_GCLK_ID_MSR + 1)

Referenced by freqm_init().