From: asterix Date: Thu, 22 Jul 2010 17:13:51 +0000 (+0000) Subject: Add stop flag defition. X-Git-Tag: 2.6.0~288^2~40 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=890d4e4e21b10b967de302fe7627e2c9d379c448;p=bertos.git Add stop flag defition. git-svn-id: https://src.develer.com/svnoss/bertos/branches/i2c@4054 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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;