1.41.13.12 PWMx_FaultStatusClear Function
C
/* x = PWM instance number */
void PWMx_FaultStatusClear(PWM_FAULT_ID fault_id)
Summary
This function clears the status of the given fault id
Description
This function clears the fault status of the given id. When fault mode is set as "fault is active until cleared at peripheral level and also at the register level", this function clears the fault status at the register level.
Precondition
PWMx_Initialize() function must have been called first for the associated instance.
Parameters
None
Returns
None
Example
PWM0_Initialize();
PWM0_FaultStatusClear(PWM_FAULT_ID_0);
Remarks
Fault becomes inactive after this function call, only if fault input level is cleared.