#include "global.h"
#include "timer.h"
Go to the source code of this file.
Data Structures | |
| struct | struct_SwPwmChannel |
Defines | |
| #define | SWPWM_NUM_CHANNELS 3 |
| #define | SWPWMPORT PORTB |
| #define | SWPWMDDR DDRB |
Typedefs | |
| typedef struct_SwPwmChannel | SwPwmChannelType |
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 | |
Definition in file pwmsw.h.
1.3-rc2