aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/i2c.h
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-02-27 15:22:18 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-02-27 15:22:18 +0000
commit4f827c235aa25d0c0b45eca7ccd06ce2c1740a24 (patch)
tree776311d91c2d7743ad129d624d016391ede1c944 /os/hal/include/i2c.h
parente96e10761e38f07f884553c8ec6bcbaa06f42dd4 (diff)
downloadChibiOS-4f827c235aa25d0c0b45eca7ccd06ce2c1740a24.tar.gz
ChibiOS-4f827c235aa25d0c0b45eca7ccd06ce2c1740a24.tar.bz2
ChibiOS-4f827c235aa25d0c0b45eca7ccd06ce2c1740a24.zip
I2C. Code cleanups.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@2776 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include/i2c.h')
-rw-r--r--os/hal/include/i2c.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/os/hal/include/i2c.h b/os/hal/include/i2c.h
index 8b057f527..5b7046627 100644
--- a/os/hal/include/i2c.h
+++ b/os/hal/include/i2c.h
@@ -143,13 +143,9 @@ extern "C" {
void i2cStop(I2CDriver *i2cp);
void i2cMasterTransmit(I2CDriver *i2cp, I2CSlaveConfig *i2cscfg);
void i2cMasterReceive(I2CDriver *i2cp, I2CSlaveConfig *i2cscfg);
+ void i2cMasterStart(I2CDriver *i2cp);
+ void i2cMasterStop(I2CDriver *i2cp);
-
- void i2cMasterStartI(I2CDriver *i2cp,uint16_t header);
- void i2cMasterStopI(I2CDriver *i2cp);
- void i2cMasterRestartI(I2CDriver *i2cp);
- void i2cMasterTransmitI(I2CDriver *i2cp, size_t n, const uint8_t *txbuf);
- void i2cMasterReceiveI(I2CDriver *i2cp, size_t n, uint8_t *rxbuf);
#if I2C_USE_MUTUAL_EXCLUSION
void i2cAcquireBus(I2CDriver *i2cp);
void i2cReleaseBus(I2CDriver *i2cp);