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 //! Setup analog chain for glitching.
21 void glitchsetupdac();
22 //! Call this before the function to be glitched.
25 extern u16 glitchH, glitchL, glitchstate, glitchcount;
27 //! Glitch an application.
28 void glitchapp(u8 app);
29 //! Set glitching voltages.
30 void glitchvoltages(u16 low, u16 high);
31 //! Set glitching rate.
32 void glitchrate(u16 rate);
34 //! Handles a monitor command.
35 extern void glitchhandle(unsigned char app,
37 unsigned long len) WEAKDEF;