From 9f95ff5b6ba01db09552b84a0ab79607060a2666 Mon Sep 17 00:00:00 2001 From: Ali Labbene Date: Wed, 11 Dec 2019 08:59:21 +0100 Subject: Official ARM version: v5.4.0 Add CMSIS V5.4.0, please refer to index.html available under \docs folder. Note: content of \CMSIS\Core\Include has been copied under \Include to keep the same structure used in existing projects, and thus avoid projects mass update Note: the following components have been removed from ARM original delivery (as not used in ST packages) - CMSIS_EW2018.pdf - .gitattributes - .gitignore - \Device - \CMSIS - \CoreValidation - \DAP - \Documentation - \DoxyGen - \Driver - \Pack - \RTOS\CMSIS_RTOS_Tutorial.pdf - \RTOS\RTX - \RTOS\Template - \RTOS2\RTX - \Utilities - All ARM/GCC projects files are deleted from \DSP, \RTOS and \RTOS2 Change-Id: Ia026c3f0f0d016627a4fb5a9032852c33d24b4d3 --- docs/Driver/html/group__I2C__events.html | 295 +++++++++++++++++++++++++++++++ 1 file changed, 295 insertions(+) create mode 100644 docs/Driver/html/group__I2C__events.html (limited to 'docs/Driver/html/group__I2C__events.html') diff --git a/docs/Driver/html/group__I2C__events.html b/docs/Driver/html/group__I2C__events.html new file mode 100644 index 0000000..5ed356a --- /dev/null +++ b/docs/Driver/html/group__I2C__events.html @@ -0,0 +1,295 @@ + + + + + +I2C Events +CMSIS-Driver: I2C Events + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
CMSIS-Driver +  Version 2.6.0 +
+
Peripheral Interface for Middleware and Application Code
+
+
+ +
+
    + +
+
+ + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
I2C Events
+
+
+ +

The I2C driver generates call back events that are notified via the function ARM_I2C_SignalEvent. +More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

#define ARM_I2C_EVENT_TRANSFER_DONE   (1UL << 0)
 Master/Slave Transmit/Receive finished. More...
 
#define ARM_I2C_EVENT_TRANSFER_INCOMPLETE   (1UL << 1)
 Master/Slave Transmit/Receive incomplete transfer. More...
 
#define ARM_I2C_EVENT_SLAVE_TRANSMIT   (1UL << 2)
 Addressed as Slave Transmitter but transmit operation is not set. More...
 
#define ARM_I2C_EVENT_SLAVE_RECEIVE   (1UL << 3)
 Addressed as Slave Receiver but receive operation is not set. More...
 
#define ARM_I2C_EVENT_ADDRESS_NACK   (1UL << 4)
 Address not acknowledged from Slave. More...
 
#define ARM_I2C_EVENT_GENERAL_CALL   (1UL << 5)
 Slave addressed with general call address. More...
 
#define ARM_I2C_EVENT_ARBITRATION_LOST   (1UL << 6)
 Master lost arbitration. More...
 
#define ARM_I2C_EVENT_BUS_ERROR   (1UL << 7)
 Bus error detected (START/STOP at illegal position) More...
 
#define ARM_I2C_EVENT_BUS_CLEAR   (1UL << 8)
 Bus clear finished. More...
 
+

Description

+

The I2C driver generates call back events that are notified via the function ARM_I2C_SignalEvent.

+

This section provides the event values for the ARM_I2C_SignalEvent callback function.

+

The following call back notification events are generated:

+

Macro Definition Documentation

+ +
+
+ + + + +
#define ARM_I2C_EVENT_TRANSFER_DONE   (1UL << 0)
+
+ +

Master/Slave Transmit/Receive finished.

+ +
+
+ +
+
+ + + + +
#define ARM_I2C_EVENT_TRANSFER_INCOMPLETE   (1UL << 1)
+
+ +

Master/Slave Transmit/Receive incomplete transfer.

+ +
+
+ +
+
+ + + + +
#define ARM_I2C_EVENT_SLAVE_TRANSMIT   (1UL << 2)
+
+ +

Addressed as Slave Transmitter but transmit operation is not set.

+ +
+
+ +
+
+ + + + +
#define ARM_I2C_EVENT_SLAVE_RECEIVE   (1UL << 3)
+
+ +

Addressed as Slave Receiver but receive operation is not set.

+ +
+
+ +
+
+ + + + +
#define ARM_I2C_EVENT_ADDRESS_NACK   (1UL << 4)
+
+ +

Address not acknowledged from Slave.

+ +
+
+ +
+
+ + + + +
#define ARM_I2C_EVENT_GENERAL_CALL   (1UL << 5)
+
+ +

Slave addressed with general call address.

+ +
+
+ +
+
+ + + + +
#define ARM_I2C_EVENT_ARBITRATION_LOST   (1UL << 6)
+
+ +

Master lost arbitration.

+ +
+
+ +
+
+ + + + +
#define ARM_I2C_EVENT_BUS_ERROR   (1UL << 7)
+
+ +

Bus error detected (START/STOP at illegal position)

+ +
+
+ +
+
+ + + + +
#define ARM_I2C_EVENT_BUS_CLEAR   (1UL << 8)
+
+ +

Bus clear finished.

+ +
+
+
+
+ + + + -- cgit