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_init

Function Documentation

int rc_pwm_init(int ss, int frequency)

Configures subsystem 0, 1, or 2 to operate at a particular frequency.

This may be called at runtime to change the pwm frequency without stopping the motors or pwm signal.

  • ss[in] Subsystem 0 1 or 2

  • frequency[in] The frequency in HZ


Returns 0 on success or -1 on failure.