projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated README to mention static DCO.
[goodfet]
/
firmware
/
include
/
twe.h
diff --git
a/firmware/include/twe.h
b/firmware/include/twe.h
index
3d43a8a
..
dcd6887
100644
(file)
--- a/
firmware/include/twe.h
+++ b/
firmware/include/twe.h
@@
-11,9
+11,6
@@
#define TWE 0x05
//Pins and I/O
#define TWE 0x05
//Pins and I/O
-//~ #define MOSI BIT1
-//~ #define MISO BIT2
-//~ #define SCK BIT3
#define SDA BIT1
#define SCL BIT3
#define SDA BIT1
#define SCL BIT3
@@
-28,13
+25,6
@@
void twe_setup();
//! Read and write an SPI byte.
unsigned char twe_trans8(unsigned char byte);
//! Read and write an SPI byte.
unsigned char twe_trans8(unsigned char byte);
-//! Read a block to a buffer.
-//~ void twe_peekblock(uint8_t const app,
- //~ uint8_t const verb,
- //~ uint16_t adr,
- //~ uint32_t len);
-
-
void twe_handle_fn( uint8_t const app,
uint8_t const verb,
uint32_t const len);
void twe_handle_fn( uint8_t const app,
uint8_t const verb,
uint32_t const len);