The TCPWM base and CntNum is passed to check whether the counter is stopped or not.
If the counter is not incrementing/decrementing, the PWM output is inactive.
- Note
- This test only verifies that the TCPWM counter stopped between the two reads. It does not directly evaluate the actual pin or output state. Functional verification of the pin state is tracked separately.
- Parameters
-
| base | The pointer to a TCPWM instance.
|
| cntNum | The Counter instance number in the selected TCPWM. |
- Returns
- OK_STATUS (0) - Test passed
ERROR_STATUS (1) - Test failed