summaryrefslogtreecommitdiff
path: root/ucoo/hal/i2c/i2c_hard.stm32.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ucoo/hal/i2c/i2c_hard.stm32.cc')
-rw-r--r--ucoo/hal/i2c/i2c_hard.stm32.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/ucoo/hal/i2c/i2c_hard.stm32.cc b/ucoo/hal/i2c/i2c_hard.stm32.cc
index 5e767d6..22567c9 100644
--- a/ucoo/hal/i2c/i2c_hard.stm32.cc
+++ b/ucoo/hal/i2c/i2c_hard.stm32.cc
@@ -183,6 +183,14 @@ I2cHard::recv (uint8_t addr, char *buf, int count)
transfer (addr | 1, buf, count);
}
+void
+I2cHard::send_recv (uint8_t addr, const char *send_buf, int send_count,
+ char *recv_buf, int recv_count)
+{
+ // TODO: not implemented.
+ assert_unreachable ();
+}
+
int
I2cHard::status ()
{