Waveform generator

Dependencies:   MODDMA mbed

SignalGenDefs.h

Committer:
carsonbrown27
Date:
18 months ago
Revision:
1:2fa202e02c48
Parent:
0:c1a4c1e9618c

File content as of revision 1:2fa202e02c48:


#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