Subversion Repositories FlightCtrl

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2189 - 1
#ifndef _BEEPER_H
2
#define _BEEPER_H
3
 
4
#define BEEP_MODULATION_NONE 0xFFFF
5
#define BEEP_MODULATION_RCALARM 0x0C00
6
#define BEEP_MODULATION_I2CALARM 0x0080
7
#define BEEP_MODULATION_BATTERYALARM 0x0300
8
#define BEEP_MODULATION_EEPROMALARM 0x0007
9
 
10
extern volatile uint16_t beepModulation;
11
extern volatile uint16_t beepTime;
12
 
13
void beep(uint16_t millis);
14
void beepNumber(uint8_t numbeeps);
15
void beepRCAlarm(void);
16
void beepI2CAlarm(void);
17
void beepBatteryAlarm(void);
18
 
19
#endif