AT13481

Function freqm_init()

Initializes a hardware FREQM module instance.

enum status_code freqm_init( struct freqm_module *const module_inst, Freqm *const hw, struct freqm_config *const config)

Enables the clock and initializes the FREQM module, based on the given configuration values.

Table 1. Parameters
Data direction Parameter name Description

[in, out]

module_inst

Pointer to the software module instance struct

[in]

hw

Pointer to the FREQM hardware module

[in]

config

Pointer to the FREQM configuration options struct

Returns

Status of the initialization procedure.

Table 2. Return Values
Return value Description

STATUS_OK

The module was initialized successfully