Main Page   Modules   Data Structures   File List   Data Fields   Globals  

pwmsw.c File Reference

Software interrupt-driven multi-output PWM function library. More...

#include <avr/io.h>
#include "global.h"
#include "pwmsw.h"

Go to the source code of this file.

Functions

void pwmswInit (u16 periodTics)
 initializes software PWM system

void pwmswOff (void)
 turns off software PWM system

void pwmswPWMSet (u08 channel, u16 duty)
 set duty on channel

void pwmswService (void)
 software PWM interrupt service routine


Variables

u16 PosTics
u16 PeriodTics
u08 Channel
SwPwmChannelType SwPwmChannels [SWPWM_NUM_CHANNELS]


Detailed Description

Software interrupt-driven multi-output PWM function library.

Definition in file pwmsw.c.


Generated on Sun Feb 22 19:12:31 2004 for Procyon AVRlib by doxygen1.3-rc2