2 \author Travis Goodspeed
3 \brief Glitch handler functions.
11 #define GLITCHAPP 0x80
12 #define GLITCHVERB 0x81
13 #define GLITCHTIME 0x82
14 #define GLITCHVOLTAGES 0x90
15 #define GLITCHRATE 0x91
20 //! Call this before the function to be glitched.
23 extern u16 glitchH, glitchL, glitchstate, glitchcount;
25 //! Glitch an application.
26 void glitchapp(u8 app);
27 //! Set glitching voltages.
28 void glitchvoltages(u16 gnd, u16 vcc);
29 //! Set glitching rate.
30 void glitchrate(u16 rate);
32 //! Handles a monitor command.
33 extern void glitchhandle(unsigned char app,
35 unsigned long len) WEAKDEF;