ADuCM302x Device Drivers API Reference Manual
Release 3.1.2.0
|
Macros | |
#define | ADI_BEEP_INCLUDE_PLAY_SEQUENCE 1 |
#define | ADI_BEEP_CFG_BEEPER_DISABLE 0 |
#define | ADI_BEEP_CFG_SEQUENCE_REPEAT_VALUE 5 |
#define | ADI_BEEP_TONEA_DISABLE 0 |
#define | ADI_BEEP_TONEA_FREQUENCY 20 |
#define | ADI_BEEP_TONEA_DURATION 2 |
#define | ADI_BEEP_TONEB_DISABLE 0 |
#define | ADI_BEEP_TONEB_FREQUENCY 50 |
#define | ADI_BEEP_TONEB_DURATION 2 |
#define ADI_BEEP_INCLUDE_PLAY_SEQUENCE 1 |
Enable the inclusion of adi_beep_PlaySequence(). This
API requires more data in the device structures to manage
the longer playing sequences, along with extra code in
the interrupt handler.
0 - adi_beep_PlaySequence() omitted.
1 - adi_beep_PlaySequence() is included.
Definition at line 73 of file adi_beep_config.h.
#define ADI_BEEP_CFG_BEEPER_DISABLE 0 |
Configure beeper disable.
0 - Beeper enabled.
1 - Beeper disabled.
Definition at line 80 of file adi_beep_config.h.
#define ADI_BEEP_CFG_SEQUENCE_REPEAT_VALUE 5 |
Configure beeper sequence, when using static configuration.
0 - Single note (Tone A only).
1-255 - Sequence mode repeat count (Tone A then B sequentially).
Definition at line 85 of file adi_beep_config.h.
#define ADI_BEEP_TONEA_DISABLE 0 |
Initial ToneA Disable.
0 - ToneA Enabled.
1 - ToneA Disabled.
Definition at line 93 of file adi_beep_config.h.
#define ADI_BEEP_TONEA_FREQUENCY 20 |
Initial ToneA Frequency.
0-3 - Rest Tone (no oscillation).
4-127 - Oscillate at 32kHz/freq Hz.
Definition at line 98 of file adi_beep_config.h.
#define ADI_BEEP_TONEA_DURATION 2 |
Initial ToneA Duration.
0-254 - Play for 4ms*duration.
255 - Play for infinite duration.
Definition at line 103 of file adi_beep_config.h.
#define ADI_BEEP_TONEB_DISABLE 0 |
Initial ToneB Disable.
0 - ToneB Enabled.
1 - ToneB Disabled.
Definition at line 112 of file adi_beep_config.h.
#define ADI_BEEP_TONEB_FREQUENCY 50 |
Initial ToneB Frequency.
0-3 - Rest Tone (no oscillation).
4-127 - Oscillate at 32kHz/freq Hz.
Definition at line 117 of file adi_beep_config.h.
#define ADI_BEEP_TONEB_DURATION 2 |
Initial ToneB Duration.
0-254 - Play for 4ms*duration.
255 - Play for infinite duration.
Definition at line 122 of file adi_beep_config.h.