mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
include/nuttx/i2c/i2c_master.h: Add a definition to distinguish a new START of messages from a repeated start. No lower-half I2C drivers actually implement this new flag bit, however. drivers/i2c/i2c_writeread.c: Use new repeated START definition where appopriated. Other: Some cosmetic changes, updates to README files, etc.
This commit is contained in:
@@ -77,8 +77,9 @@
|
||||
|
||||
#define I2C_M_READ 0x0001 /* Read data, from slave to master */
|
||||
#define I2C_M_TEN 0x0002 /* Ten bit address */
|
||||
#define I2C_M_NOSTOP 0x0040 /* Message should not end with a STOP */
|
||||
#define I2C_M_NORESTART 0x0080 /* Message should not begin with
|
||||
* (re-)start of transfer */
|
||||
* (re-)START of transfer */
|
||||
|
||||
/* I2C Character Driver IOCTL Commands **************************************/
|
||||
/* The I2C driver is intended to support application testing of the I2C bus.
|
||||
|
||||
Reference in New Issue
Block a user