FreeCalypso > hg > fc-magnetite
view src/cs/drivers/drv_app/buzzer/buzzer.h @ 684:269554439ace
targets/fcdev3b.h: bring back CONFIG_TARGET_FCDEV3B
C preprocessor symbol CONFIG_TARGET_FCMODEM is no longer used anywhere
in our code base, thus it is being fully retired. OTOH, CONFIG_TARGET_FCDEV3B
is being brought back: with our earlier FC modem family idea now being
withdrawn in light of the discovery of Tango modules, FCDEV3B goes back to
being its own unique target.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 24 Sep 2020 20:21:51 +0000 |
parents | 945cf7f506b2 |
children |
line wrap: on
line source
/* * BUZZER.H * * Buzzer and light control * * Target : ARM * * Copyright (c) Texas Instruments 1996 * */ #define BZ_LEVEL ARMIO_BUZZER #define LT_LEVEL ARMIO_LIGHT // Bit definitions in CNTL #define BZ_ON 0x01 // start buzzer #define LT_ON 0x02 // start light // Buzzer control void BZ_Init(void); void BZ_Enable(void); void BZ_Disable(void); void BZ_Tone(int f); void BZ_Volume(int v); void BZ_IntHandler(void); void BZ_KeyBeep_ON(void); void BZ_KeyBeep_OFF(void); // LCD and keypad Light control void LT_Enable(void); void LT_Disable(void); void LT_Level(SYS_WORD8 level); SYS_BOOL LT_Status(void);