Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: IniManager RA8875 Watchdog mbed-rtos mbed
Fork of speaker_demo_Analog by
SignalGenDefs.h
- Committer:
- WiredHome
- Date:
- 2017-05-20
- Revision:
- 6:1f48212fbaf9
- Parent:
- 3:d22f3e52d06a
File content as of revision 6:1f48212fbaf9:
#ifndef SIGNALGENDEFS_H
#define SIGNALGENDEFS_H
/// Signal Generator Modes
///
/// This defines the modes. However, SG_KEYPAD is not an mode,
/// it is a proprietary mechanism used for displaying the keypad, and
/// is not intended to be used by the application.
///
typedef enum {
SG_SINE, ///< Sine wave
SG_SQUARE, ///< Square wave
SG_TRIANGLE, ///< Triangle wave
SG_SAWTOOTH, ///< Sawtooth
SG_USER, ///< User defined waveform
SG_KEYPAD, ///< This is an internal value, not for applications
SG_START, ///< This is the start/stop/pulse button
} SG_Waveform;
#endif // SIGNALGENDEFS_H
