Function rc_pwm_cleanup¶
Defined in File pwm.h
Function Documentation¶
-
int rc_pwm_cleanup(int ss)¶
Stops a subsystem and puts it into a low-power state.
Recommended to call before userspace program exits to ensure the PWM hardware stops.
- Parameters
ss – [in] subsystem 0,1,2
- Returns
Returns 0 on success or -1 on failure.