projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Code for talking to the MAX3420 USB Device Controller.
[goodfet]
/
firmware
/
include
/
spi.h
diff --git
a/firmware/include/spi.h
b/firmware/include/spi.h
index
cede5c4
..
d940605
100644
(file)
--- a/
firmware/include/spi.h
+++ b/
firmware/include/spi.h
@@
-22,6
+22,8
@@
# define MOSI BIT1
# define MISO BIT2
# define SCK BIT3
# define MOSI BIT1
# define MISO BIT2
# define SCK BIT3
+# define TST BIT0
+# define RST BIT6
#endif
#define SETMOSI SPIOUT|=MOSI
#endif
#define SETMOSI SPIOUT|=MOSI