Trying chinese in MSP430 client. Localization to come later.
[goodfet] / firmware / include / glitch.h
index 16ccea8..aef8888 100644 (file)
@@ -17,8 +17,6 @@
 
 //! Setup glitching.
 void glitchsetup();
-//! Setup analog chain for glitching.
-void glitchsetupdac();
 //! Call this before the function to be glitched.
 void glitchprime();
 
@@ -27,11 +25,11 @@ extern u16 glitchH, glitchL, glitchstate, glitchcount;
 //! Glitch an application.
 void glitchapp(u8 app);
 //! Set glitching voltages.
-void glitchvoltages(u16 low, u16 high);
+void glitchvoltages(u16 gnd, u16 vcc);
 //! Set glitching rate.
 void glitchrate(u16 rate);
 
 //! Handles a monitor command.
-void glitchhandle(unsigned char app,
+extern void glitchhandle(unsigned char app,
                  unsigned char verb,
-                 unsigned long len);
+                 unsigned long len) WEAKDEF;