1.2.15.9 PDECx_HALLInitialize Function

C

void PDECx_HALLInitialize ( void ); // x is instance of the peripheral and it is applicable only for devices having multiple instances of the peripheral.

Summary

Initializes given instance of PDEC peripheral in hall mode.

Description

This function initializes given instance of PDEC peripheral in hall mode with options configured in MCC GUI.

Precondition

MCC GUI should be configured with the desired options.

Parameters

None.

Returns

None.

Example

PDEC_HALLInitialize();

Remarks

This function must be called before any other PDEC function is called. This function is normally called only be called once during system initialization.