This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Function rc_pwm_cleanup

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.


ss[in] subsystem 0,1,2


Returns 0 on success or -1 on failure.