Signal Generator

Dependencies:   IniManager RA8875 Watchdog mbed-rtos mbed

Fork of speaker_demo_Analog by jim hamblen

Revision:
5:49dd0c647a40
Parent:
3:d22f3e52d06a
Child:
6:1f48212fbaf9
--- a/SignalGenDisplay.h	Mon Jan 16 21:05:13 2017 +0000
+++ b/SignalGenDisplay.h	Mon Jan 16 22:57:59 2017 +0000
@@ -177,14 +177,15 @@
     /// bitmask value, where zero or more bits are set.
     ///
     typedef enum {
-        OM_NONE = 0,    ///< No change in operating mode
-        OM_MODE = 1,    ///< Signal mode changed; Sine, Square, Triangle, Sawtooth, User
-        OM_FREQ = 2,    ///< Change in the frequency
-        OM_PERI = 4,    ///< Change in the period (effectively same as frequency)
-        OM_DUTY = 8,    ///< Change in the duty cycle
-        OM_VOLT = 16,   ///< Change in the peak to peak amplitude
-        OM_OFFS = 32,   ///< Change in the offset voltage
-        OM_BACKL = 64,  ///< Change in the backlight setting
+        OM_NONE     = 0x0000,   ///< No change in operating mode
+        OM_MODE     = 0x0001,   ///< Signal mode changed; Sine, Square, Triangle, Sawtooth, User
+        OM_PULSE    = 0x0002,   ///< Continuous v. Single-shot
+        OM_FREQ     = 0x0004,   ///< Change in the frequency
+        OM_PERI     = 0x0008,   ///< Change in the period (effectively same as frequency)
+        OM_DUTY     = 0x0010,   ///< Change in the duty cycle
+        OM_VOLT     = 0x0020,   ///< Change in the peak to peak amplitude
+        OM_OFFS     = 0x0040,   ///< Change in the offset voltage
+        OM_BACKL    = 0x0080,   ///< Change in the backlight setting
     } OM_Changes;
 
     /// Poll the Signal Generator UI for changes in operation.
@@ -280,4 +281,4 @@
 };
 
 
-#endif // SIGNALGENDISPLAY_H
\ No newline at end of file
+#endif // SIGNALGENVIEW_H
\ No newline at end of file