aboutsummaryrefslogtreecommitdiff
path: root/pwm.h
blob: 399a0992ff6942d75e707e25a57f0636bb253cf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef PWM_H
#define PWM_H

#include <stdint.h>
void pwmInit ();
void pwmStart ();
void pwmStop ();
void pwmSetBlink (const uint8_t, const uint8_t);

/* LED on (no blink) */
#define PWM_BLINK_ON UINT8_MAX
/* LED off */
#define PWM_BLINK_OFF 0

#endif /* PWM_H */