ADuCM4x50 Device Drivers API Reference Manual
Release 4.0.0.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 40 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 47 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 52 of file adi_beep_config.h.
#define ADI_BEEP_TONEA_DISABLE 0 |
Initial ToneA Disable.
0 - ToneA Enabled.
1 - ToneA Disabled.
Definition at line 60 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 65 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 70 of file adi_beep_config.h.
#define ADI_BEEP_TONEB_DISABLE 0 |
Initial ToneB Disable.
0 - ToneB Enabled.
1 - ToneB Disabled.
Definition at line 79 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 84 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 89 of file adi_beep_config.h.