projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Naming conventioned, removed glitchsetupdac().
[goodfet]
/
firmware
/
include
/
glitch.h
diff --git
a/firmware/include/glitch.h
b/firmware/include/glitch.h
index
7576c7e
..
aef8888
100644
(file)
--- a/
firmware/include/glitch.h
+++ b/
firmware/include/glitch.h
@@
-10,13
+10,13
@@
//Command codes
#define GLITCHAPP 0x80
#define GLITCHVERB 0x81
//Command codes
#define GLITCHAPP 0x80
#define GLITCHVERB 0x81
+#define GLITCHTIME 0x82
#define GLITCHVOLTAGES 0x90
#define GLITCHRATE 0x91
#define GLITCHVOLTAGES 0x90
#define GLITCHRATE 0x91
+
//! Setup glitching.
void glitchsetup();
//! Setup glitching.
void glitchsetup();
-//! Setup analog chain for glitching.
-void glitchsetupdac();
//! Call this before the function to be glitched.
void glitchprime();
//! Call this before the function to be glitched.
void glitchprime();
@@
-25,11
+25,11
@@
extern u16 glitchH, glitchL, glitchstate, glitchcount;
//! Glitch an application.
void glitchapp(u8 app);
//! Set glitching voltages.
//! 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.
//! 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 char verb,
- unsigned long len);
+ unsigned long len)
WEAKDEF
;