Blame | Last modification | View Log | Download | RSS feed
ifndef __stm8lbeepinc ; avoid multiple inclusion__stm8lbeepinc equ 1savelisting off ; no listing over this file;****************************************************************************;* *;* AS 1.42 - File BEEP.INC *;* *;* contains SFR and Bit Definitions for STM8L Beeper *;* *;****************************************************************************__defbeep macro BaseBEEP_CSR1 label Base+$00 ; Beeper control/status register 1BEEP_MSR bit BEEP_CSR1,0 ; Measurement EnableBEEP_CSR2 label Base+$03 ; Beeper control/status register 2BEEPSEL bfield BEEP_CSR2,6,2 ; Beep selectionBEEPEN bit BEEP_CSR2,5 ; Beep enableBEEPDIV bfield BEEP_CSR2,0,5 ; Beep prescaler dividerendmrestoreendif ; __stm8lbeepinc