3.6.5 mcIpdI_InitialPositionDetectReset

C


/* Reset initial position detection module */
void mcIpdI_InitialPositionDetectReset(tmcIpd_ModuleData_s *pModule);	

Summary

This function resets the initial position detection module.

Description

This function resets the initial position detection(IPD) module by linking the state variables and resetting the user parameters configured for IPD module to its initial values.

Precondition

None.

Parameters

ParamDescription
pParametersA pointer to the IPD module parameter structure

Returns

None

Example

// Define the IPD module data structure
tmcIpd_ModuleData_s ipdParameters;

/** Reset IPD module */
mcIpdI_InitialPositionDetectReset(&ipdParameters);
    

Remarks

None.