#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] |
Definition in file pwmsw.c.
1.3-rc2