User`s manual
RabbitFLEX User’s Manual www.rabbit.com 121
flexToneShutdown
void flexToneShutdown();
DESCRIPTION
Turns off the tone driver. Useful to preserve processor resources.
RETURN VALUE
None.
SEE ALSO
flexSpeakerPWM, flexToneActivate, flexToneLoad, flexToneStop
flexAudioActivate
unsigned int flexAudioActivate();
DESCRIPTION
Enables the audio driver so that samples can be loaded and played.
The audio driver consumes 10–20 of the processor's time while it is running. Use
flexAudioShutdown() to disable the audio driver while not in use.
Do not use the tone and audio drivers simultaneously. You may switch between them within
the same program.
RETURN VALUE
The frequency of PWM pulses output by the audio driver.
SEE ALSO
flexSpeakerPWM, flexAudioShutdown, flexAudioPlay,
flexAudioStop, flexAudioPlaying, flexAudioSetRate,
flexAudioLoad