projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated command line 802.15.4 checksum calculator and added serClose to GoodFET to...
[goodfet]
/
firmware
/
include
/
glitch.h
diff --git
a/firmware/include/glitch.h
b/firmware/include/glitch.h
index
aef8888
..
5705e4e
100644
(file)
--- a/
firmware/include/glitch.h
+++ b/
firmware/include/glitch.h
@@
-3,10
+3,18
@@
\brief Glitch handler functions.
*/
\brief Glitch handler functions.
*/
+#ifndef GLITCH_H
+#define GLITCH_H
+
+#include "command.h"
+#include "app.h"
+
#include <signal.h>
#include <io.h>
#include <iomacros.h>
#include <signal.h>
#include <io.h>
#include <iomacros.h>
+#define GLITCH 0x71
+
//Command codes
#define GLITCHAPP 0x80
#define GLITCHVERB 0x81
//Command codes
#define GLITCHAPP 0x80
#define GLITCHVERB 0x81
@@
-29,7
+37,7
@@
void glitchvoltages(u16 gnd, u16 vcc);
//! Set glitching rate.
void glitchrate(u16 rate);
//! Set glitching rate.
void glitchrate(u16 rate);
-//! Handles a monitor command.
-extern void glitchhandle(unsigned char app,
- unsigned char verb,
- unsigned long len) WEAKDEF;
+extern app_t const glitch_app;
+
+#endif // GLITCH_H
+