Add stop flag defition.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 22 Jul 2010 17:13:51 +0000 (17:13 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 22 Jul 2010 17:13:51 +0000 (17:13 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/branches/i2c@4054 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/drv/i2c.h

index 180e7310a335bed1dc2763341f7c70645373cfaf..029f1499e3e1357c3884fd2a5734a1ef69eab7c7 100644 (file)
@@ -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;