Go to the source code of this file.
Functions | |
int | PwmOut_SetActive (int index, int state) |
Sets whether the specified PWM device is active. | |
int | PwmOut_GetActive (int index) |
Returns the active state of the LED. | |
int | PwmOut_SetDuty (int index, int duty) |
Set the speed of a PWM device. | |
int | PwmOut_GetDuty (int index) |
Read the current duty of a PWM device. | |
int | PwmOut_SetInvertA (int index, char invert) |
Set whether the A channel associated with a PWM out should be inverted. | |
int | PwmOut_GetInvertA (int index) |
Read whether the A channel of a PWM device is inverted. | |
int | PwmOut_SetInvertB (int index, char invert) |
Read whether the B channel of a PWM out is inverted. | |
int | PwmOut_GetInvertB (int index) |
Read whether the B channel of a PWM device is inverted. | |
int | PwmOut_SetInvert (int index, char invertA, char invertB) |
Set whether the 2 channels of a PWM device are inverted. | |
int | PwmOut_SetAll (int index, int duty, char invertA, char invertB) |
Set the duty and the inversion of both channels of a PWM device. | |
int | PwmOut_SetDividerAValue (int val) |
Set the divider A value. | |
int | PwmOut_GetDividerAValue () |
Read the divider A value. | |
int | PwmOut_SetDividerAMux (int mux) |
Set the divider A mux value. | |
int | PwmOut_GetDividerAMux () |
Read the divider A mux value. | |
int | PwmOut_SetDividerBValue (int val) |
Set the divider B value. | |
int | PwmOut_GetDividerBValue () |
Read the divider B value. | |
int | PwmOut_SetDividerBMux (int mux) |
Set the divider B mux value. | |
int | PwmOut_GetDividerBMux () |
Read the divider B mux value. | |
int | PwmOut_SetWaveformAlignment (int index, int val) |
Set the alignment of a channel's waveform. | |
int | PwmOut_GetWaveformAlignment (int index) |
Read the configured waveform alignment for a given PWM channel. | |
int | PwmOut_SetWaveformPolarity (int index, int val) |
Set the Waveform Polarity for a PWM channel. | |
int | PwmOut_GetWaveformPolarity (int index) |
Read the waveform polarity for a given channel. |
Library of functions for the Make Application Board's PwmOut Subsystem.
Definition in file pwmout.c.