Rev 333 | Blame | Compare with Previous | Last modification | View Log | RSS feed
#ifndef PWM_H
#define PWM_H
#include "DEFINES.h"
#define PWM_DEFAULT_FREQ 50000
#define PWM_DEFAULT_HIGH_CYCLE 80
#define PWM_DEFAULT_LOW_CYCLE 20
void PWM_Init();
void Set_PWM_Frequency(uint32_t frequency);
void Set_PWM_Duty_Cycle(uint8_t highPercent, uint8_t lowPercent);
void Set_PWM_Pattern(uint16_t pattern);
void PWM_Transmit_Pattern();
#endif /* PWM_H */