Function freqm_get_config_defaults()

Initializes all members of a FREQM configuration structure to safe defaults.

void freqm_get_config_defaults(
		struct freqm_config *const config)

Initializes all members of a given Frequency Meter configuration structure to safe known default values. This function should be called on all new instances of these configuration structures before being modified by the user application.

The default configuration is as follows:
Table 1. Parameters
Data direction Parameter name Description

[in]

config

Configuration structure to initialize to default values