From: Bartosz Szczepanek <[email protected]>

I2C_NORESTART_FLAG allows to continue transmission without repeated
start operation.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Bartosz Szczepanek <[email protected]>
---
 MdePkg/Include/Pi/PiI2c.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/MdePkg/Include/Pi/PiI2c.h b/MdePkg/Include/Pi/PiI2c.h
index d7e0e2d..2c941cb 100644
--- a/MdePkg/Include/Pi/PiI2c.h
+++ b/MdePkg/Include/Pi/PiI2c.h
@@ -112,6 +112,7 @@ typedef struct {
 ///
 /// I2C read operation when set
 #define I2C_FLAG_READ               0x00000001
+#define I2C_FLAG_NORESTART          0x00000002
 
 ///
 /// Define the flags for SMBus operation
-- 
1.8.3.1

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to