Signal Generator
Dependencies: IniManager RA8875 Watchdog mbed-rtos mbed
Fork of speaker_demo_Analog by
SignalGenDefs.h@6:1f48212fbaf9, 2017-05-20 (annotated)
- Committer:
- WiredHome
- Date:
- Sat May 20 19:52:23 2017 +0000
- Revision:
- 6:1f48212fbaf9
- Parent:
- 3:d22f3e52d06a
Signal Generator - a work in process as the need arises.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
WiredHome | 2:8f71b71fce1b | 1 | |
WiredHome | 2:8f71b71fce1b | 2 | #ifndef SIGNALGENDEFS_H |
WiredHome | 2:8f71b71fce1b | 3 | #define SIGNALGENDEFS_H |
WiredHome | 2:8f71b71fce1b | 4 | |
WiredHome | 2:8f71b71fce1b | 5 | /// Signal Generator Modes |
WiredHome | 2:8f71b71fce1b | 6 | /// |
WiredHome | 2:8f71b71fce1b | 7 | /// This defines the modes. However, SG_KEYPAD is not an mode, |
WiredHome | 2:8f71b71fce1b | 8 | /// it is a proprietary mechanism used for displaying the keypad, and |
WiredHome | 2:8f71b71fce1b | 9 | /// is not intended to be used by the application. |
WiredHome | 2:8f71b71fce1b | 10 | /// |
WiredHome | 2:8f71b71fce1b | 11 | typedef enum { |
WiredHome | 2:8f71b71fce1b | 12 | SG_SINE, ///< Sine wave |
WiredHome | 2:8f71b71fce1b | 13 | SG_SQUARE, ///< Square wave |
WiredHome | 2:8f71b71fce1b | 14 | SG_TRIANGLE, ///< Triangle wave |
WiredHome | 2:8f71b71fce1b | 15 | SG_SAWTOOTH, ///< Sawtooth |
WiredHome | 2:8f71b71fce1b | 16 | SG_USER, ///< User defined waveform |
WiredHome | 2:8f71b71fce1b | 17 | SG_KEYPAD, ///< This is an internal value, not for applications |
WiredHome | 3:d22f3e52d06a | 18 | SG_START, ///< This is the start/stop/pulse button |
WiredHome | 6:1f48212fbaf9 | 19 | } SG_Waveform; |
WiredHome | 2:8f71b71fce1b | 20 | |
WiredHome | 2:8f71b71fce1b | 21 | #endif // SIGNALGENDEFS_H |