pwm.c File Reference

PWM - Pulse Width Modulation. More...

Go to the source code of this file.


Functions

int Pwm_Set (int index, int duty)
 Set the duty of a PWM device.
int Pwm_Get (int index)
 Read the current duty of a PWM device.
int Pwm_SetDividerA (int val)
 Adjust the clock period on Divider A.
int Pwm_GetDividerA ()
 Read the clock period on Divider A.
int Pwm_SetDividerB (int val)
 Adjust the clock period on Divider B.
int Pwm_GetDividerB ()
 Read the clock period on Divider B.
int Pwm_SetClockSource (int channel, int val)
 Set the clock divider for a particular channel.
int Pwm_GetClockSource (int channel)
 Read the clock source for a particular channel.
int Pwm_SetWaveformProperties (int channel, int val)
 Set the wave form properties of the PWM contoller for a given channel.
int Pwm_GetWaveformProperties (int channel)
 Read the waveform configuration of a specified PWM channel.

Detailed Description

PWM - Pulse Width Modulation.

Library of functions for the Make Application Board's PwmOut Subsystem.

Definition in file pwm.c.