2 \author Travis Goodspeed
3 \brief Glitch handler functions.
11 #define GLITCHAPP 0x80
12 #define GLITCHVERB 0x81
13 #define GLITCHVOLTAGES 0x90
14 #define GLITCHRATE 0x91
18 //! Setup analog chain for glitching.
19 void glitchsetupdac();
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 low, u16 high);
29 //! Set glitching rate.
30 void glitchrate(u16 rate);
32 //! Handles a monitor command.
33 void glitchhandle(unsigned char app,