summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunya Ogura <5352+juno@users.noreply.github.com>2018-11-14 01:27:46 +0900
committerDrashna Jaelre <drashna@live.com>2018-11-13 08:27:46 -0800
commitcaa293a8f77447891b02d5f8c91b209f9a082cc9 (patch)
tree32284ebe56fe171a10363627ee5cb94cc74ce9b4
parent7e87532ec261bcc30d7fa5dfc5bf6427e2d3d36e (diff)
Remove duplicate row from Available functions table in i2c_driver doc (#4416)
-rw-r--r--docs/i2c_driver.md1
1 files changed, 0 insertions, 1 deletions
diff --git a/docs/i2c_driver.md b/docs/i2c_driver.md
index f69eb5a9da..ea24dc64f3 100644
--- a/docs/i2c_driver.md
+++ b/docs/i2c_driver.md
@@ -8,7 +8,6 @@ The I2C Master drivers used in QMK have a set of common functions to allow porta
|------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|`void i2c_init(void);` |Initializes the I2C driver. This function should be called once before any transaction is initiated. |
|`uint8_t i2c_start(uint8_t address);` |Starts an I2C transaction. Address is the 7-bit slave address without the direction bit. |
-|`uint8_t i2c_transmit(uint8_t address, uint8_t* data, uint16_t length, uint16_t timeout);` |Transmit data over I2C. Address is the 7-bit slave address without the direction. |
|`uint8_t i2c_transmit(uint8_t address, uint8_t* data, uint16_t length, uint16_t timeout);` |Transmit data over I2C. Address is the 7-bit slave address without the direction. Returns status of transaction. |
|`uint8_t i2c_receive(uint8_t address, uint8_t* data, uint16_t length, uint16_t timeout);` |Receive data over I2C. Address is the 7-bit slave address without the direction. Saves number of bytes specified by `length` in `data` array. Returns status of transaction. |
|`uint8_t i2c_writeReg(uint8_t devaddr, uint8_t regaddr, uint8_t* data, uint16_t length, uint16_t timeout);` |Same as the `i2c_transmit` function but `regaddr` sets where in the slave the data will be written. |