Waveform generator

Dependencies:   MODDMA mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers SignalGenDefs.h Source File

SignalGenDefs.h

00001 
00002 #ifndef SIGNALGENDEFS_H
00003 #define SIGNALGENDEFS_H
00004 
00005 /// Signal Generator Modes
00006 ///
00007 /// This defines the modes. However, SG_KEYPAD is not an mode,
00008 /// it is a proprietary mechanism used for displaying the keypad, and
00009 /// is not intended to be used by the application.
00010 ///
00011 typedef enum {
00012     SG_SINE,        ///< Sine wave
00013     SG_SQUARE,      ///< Square wave
00014     SG_TRIANGLE,    ///< Triangle wave
00015     SG_SAWTOOTH,    ///< Sawtooth
00016     SG_USER,        ///< User defined waveform
00017     SG_KEYPAD,      ///< This is an internal value, not for applications
00018     SG_START,       ///< This is the start/stop/pulse button
00019 } SG_Waveform;
00020 
00021 #endif // SIGNALGENDEFS_H