Waveform generator

Dependencies:   MODDMA mbed

Committer:
carsonbrown27
Date:
Thu Dec 08 05:04:05 2022 +0000
Revision:
1:2fa202e02c48
Parent:
0:c1a4c1e9618c
Final Version

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jisakson3 0:c1a4c1e9618c 1
jisakson3 0:c1a4c1e9618c 2 #ifndef SIGNALGENDEFS_H
jisakson3 0:c1a4c1e9618c 3 #define SIGNALGENDEFS_H
jisakson3 0:c1a4c1e9618c 4
jisakson3 0:c1a4c1e9618c 5 /// Signal Generator Modes
jisakson3 0:c1a4c1e9618c 6 ///
jisakson3 0:c1a4c1e9618c 7 /// This defines the modes. However, SG_KEYPAD is not an mode,
jisakson3 0:c1a4c1e9618c 8 /// it is a proprietary mechanism used for displaying the keypad, and
jisakson3 0:c1a4c1e9618c 9 /// is not intended to be used by the application.
jisakson3 0:c1a4c1e9618c 10 ///
jisakson3 0:c1a4c1e9618c 11 typedef enum {
jisakson3 0:c1a4c1e9618c 12 SG_SINE, ///< Sine wave
jisakson3 0:c1a4c1e9618c 13 SG_SQUARE, ///< Square wave
jisakson3 0:c1a4c1e9618c 14 SG_TRIANGLE, ///< Triangle wave
jisakson3 0:c1a4c1e9618c 15 SG_SAWTOOTH, ///< Sawtooth
jisakson3 0:c1a4c1e9618c 16 SG_USER, ///< User defined waveform
jisakson3 0:c1a4c1e9618c 17 SG_KEYPAD, ///< This is an internal value, not for applications
jisakson3 0:c1a4c1e9618c 18 SG_START, ///< This is the start/stop/pulse button
jisakson3 0:c1a4c1e9618c 19 } SG_Waveform;
jisakson3 0:c1a4c1e9618c 20
jisakson3 0:c1a4c1e9618c 21 #endif // SIGNALGENDEFS_H