aboutsummaryrefslogtreecommitdiff
path: root/libraries/Wire/src/utility/twi.h
diff options
context:
space:
mode:
authorPaolo Paolucci <p.paolucci@tiscali.it>2016-03-07 18:40:09 +0100
committerSandeep Mistry <s.mistry@arduino.cc>2016-03-09 15:47:55 -0500
commit7b2f6fc02881ec6a01a3b1d4ae248202232c4c6c (patch)
tree47af934bd7b435c2a1d7255b22eaa52ee15f1df5 /libraries/Wire/src/utility/twi.h
parentaa710ab682fd73ed8ea166ebbf24d103673c5ca6 (diff)
Fix Wire register
Move TWBR register from Wire.cpp to twi.c file.
Diffstat (limited to 'libraries/Wire/src/utility/twi.h')
-rw-r--r--libraries/Wire/src/utility/twi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libraries/Wire/src/utility/twi.h b/libraries/Wire/src/utility/twi.h
index 4c52bc5..d27325e 100644
--- a/libraries/Wire/src/utility/twi.h
+++ b/libraries/Wire/src/utility/twi.h
@@ -41,6 +41,7 @@
void twi_init(void);
void twi_disable(void);
void twi_setAddress(uint8_t);
+ void twi_setFrequency(uint32_t);
uint8_t twi_readFrom(uint8_t, uint8_t*, uint8_t, uint8_t);
uint8_t twi_writeTo(uint8_t, uint8_t*, uint8_t, uint8_t, uint8_t);
uint8_t twi_transmit(const uint8_t*, uint8_t);