aboutsummaryrefslogtreecommitdiff
path: root/pwm.h
blob: f1705730d09466f1a8e16c530d09b89a771d2173 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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
#define PWM_LED_COUNT 6

#endif /* PWM_H */