From 890d4e4e21b10b967de302fe7627e2c9d379c448 Mon Sep 17 00:00:00 2001 From: asterix Date: Thu, 22 Jul 2010 17:13:51 +0000 Subject: [PATCH] Add stop flag defition. git-svn-id: https://src.develer.com/svnoss/bertos/branches/i2c@4054 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/drv/i2c.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bertos/drv/i2c.h b/bertos/drv/i2c.h index 180e7310..029f1499 100644 --- a/bertos/drv/i2c.h +++ b/bertos/drv/i2c.h @@ -126,6 +126,8 @@ bool i2c_recv(void *_buf, size_t count); * */ +#define I2C_STOP BV(0) ///< Says to driver to generate the stop after i2c tranfer. + struct I2cHardware; struct I2c; -- 2.25.1