Microchip® Advanced Software Framework

qs_freqm_basic.c File Reference

SAM Frequency Meter Driver Quick Start.

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

#include <asf.h>

Functions

void configure_freqm (void)
 [setup_1] More...
 
int main (void)
 [setup] More...
 

Variables

static struct freqm_module freqm_instance
 [setup] More...
 

void configure_freqm ( void  )

[setup_1]

[setup_2] [setup_2]

[setup_2_1]

[setup_2_1] [setup_2_2]

[setup_2_2]

[setup_2_3]

[setup_2_3]

References freqm_get_config_defaults(), freqm_init(), and freqm_instance.

Referenced by main().

int main ( void  )

[setup]

[setup_init]

[setup_init_1]

[setup_init_1] [setup_init]

[main]

[main_1]

[main_1]

[main_2]

[main_2] [main_3]

[main_3]

[main]

References Assert, configure_freqm(), freqm_clear_overflow(), freqm_enable(), freqm_get_result_value(), freqm_instance, freqm_start_measure(), FREQM_STATUS_CNT_OVERFLOW, FREQM_STATUS_MEASURE_BUSY, FREQM_STATUS_MEASURE_DONE, and system_init().

struct freqm_module freqm_instance
static

[setup]

[setup_1]

Referenced by configure_freqm(), configure_freqm_callback(), and main().