FreeCalypso > hg > tcs211-fcmodem
comparison chipsetsw/drivers/drv_app/buzzer/buzzer.h @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
1 /* | |
2 * BUZZER.H | |
3 * | |
4 * Buzzer and light control | |
5 * | |
6 * Target : ARM | |
7 * | |
8 * Copyright (c) Texas Instruments 1996 | |
9 * | |
10 */ | |
11 | |
12 #define BZ_LEVEL ARMIO_BUZZER | |
13 #define LT_LEVEL ARMIO_LIGHT | |
14 | |
15 // Bit definitions in CNTL | |
16 #define BZ_ON 0x01 // start buzzer | |
17 #define LT_ON 0x02 // start light | |
18 | |
19 // Buzzer control | |
20 void BZ_Init(void); | |
21 void BZ_Enable(void); | |
22 void BZ_Disable(void); | |
23 void BZ_Tone(int f); | |
24 void BZ_Volume(int v); | |
25 void BZ_IntHandler(void); | |
26 void BZ_KeyBeep_ON(void); | |
27 void BZ_KeyBeep_OFF(void); | |
28 | |
29 // LCD and keypad Light control | |
30 void LT_Enable(void); | |
31 void LT_Disable(void); | |
32 void LT_Level(SYS_WORD8 level); | |
33 SYS_BOOL LT_Status(void); |