diff options
author | Karl Palsson <karlp@tweak.net.au> | 2017-03-24 02:43:42 +0300 |
---|---|---|
committer | Karl Palsson <karlp@tweak.net.au> | 2017-03-31 00:48:08 +0300 |
commit | fb3b5e08f3c21c2f5f80d274b916e7dd5e548e67 (patch) | |
tree | d3e913964b1344dc08267aa828e3538809d0538a /include/libopencm3/stm32/common/i2c_common_v2.h | |
parent | 1edcc1b7dabb323c5c01ca89a008145af6d6df9a (diff) |
stm32: i2c-v2: drop overly restrictive helpers.
* didn't follow naming conventions
* overly restricted to single byte register style commands.
Will be replaced by freeform transfer functions
Diffstat (limited to 'include/libopencm3/stm32/common/i2c_common_v2.h')
-rw-r--r-- | include/libopencm3/stm32/common/i2c_common_v2.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/libopencm3/stm32/common/i2c_common_v2.h b/include/libopencm3/stm32/common/i2c_common_v2.h index 740de632..01ec643b 100644 --- a/include/libopencm3/stm32/common/i2c_common_v2.h +++ b/include/libopencm3/stm32/common/i2c_common_v2.h @@ -427,10 +427,6 @@ void i2c_enable_rxdma(uint32_t i2c); void i2c_disable_rxdma(uint32_t i2c); void i2c_enable_txdma(uint32_t i2c); void i2c_disable_txdma(uint32_t i2c); -void write_i2c(uint32_t i2c, uint8_t i2c_addr, uint8_t reg, - uint8_t size, uint8_t *data); -void read_i2c(uint32_t i2c, uint8_t i2c_addr, uint8_t reg, - uint8_t size, uint8_t *data); END_DECLS |