summaryrefslogtreecommitdiff
path: root/ucoo/hal/i2c/i2c_hard.stm32.hh
diff options
context:
space:
mode:
Diffstat (limited to 'ucoo/hal/i2c/i2c_hard.stm32.hh')
-rw-r--r--ucoo/hal/i2c/i2c_hard.stm32.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/ucoo/hal/i2c/i2c_hard.stm32.hh b/ucoo/hal/i2c/i2c_hard.stm32.hh
index 81c5deb..d2bb63a 100644
--- a/ucoo/hal/i2c/i2c_hard.stm32.hh
+++ b/ucoo/hal/i2c/i2c_hard.stm32.hh
@@ -57,6 +57,9 @@ class I2cHard : public I2c
void send (uint8_t addr, const char *buf, int count);
/// See I2cMaster::recv.
void recv (uint8_t addr, char *buf, int count);
+ /// See I2cMaster::send_recv
+ void send_recv (uint8_t addr, const char *send_buf, int send_count,
+ char *recv_buf, int recv_count);
/// See I2cMaster::status.
int status ();
/// See I2cMaster::wait.