1.34.1.1 AFECx_Initialize Function

C

void AFECx_Initialize (void) // x - Instance of the AFEC peripheral

Summary

Initializes given instance of AFEC peripheral.

Description

This function initializes given instance of AFEC peripheral of the device with the values configured in MCC GUI. Once the peripheral is initialized, peripheral can be used for conversion.

Precondition

MCC GUI should be configured with the right values.

Parameters

None.

Returns

None.

Example

AFEC0_Initialize();

Remarks

This function must be called before any other AFEC function is called. This function should only be called once during system initialization.