![]() |
G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
|
These defines represent various I2C event flags, which can be used with the DDL_I2C_ReadReg function to identify and check specific I2C status or event conditions. More...
Macros | |
| #define | DDL_I2C_EVENT_MASTER_MODE_SELECT 0x00030001u /* BUSBSYFLG, MSFLG and STARTFLG flag */ |
| #define | DDL_I2C_EVENT_MASTER_TRANSMITTER_MODE_SELECTED 0x00070082u /* BUSBSYFLG, MSFLG, ADDRFLG, TXBEFLG and TRFLG flags */ |
| #define | DDL_I2C_EVENT_MASTER_RECEIVER_MODE_SELECTED 0x00030002u /* BUSBSYFLG, MSFLG and ADDRFLG flags */ |
| #define | DDL_I2C_EVENT_MASTER_MODE_ADDRESS10 0x00030008u /* BUSBSYFLG, MSFLG and ADDR10FLG flags */ |
| #define | DDL_I2C_EVENT_MASTER_BYTE_RECEIVED 0x00030040u /* BUSBSYFLG, MSFLG and RXBNEFLG flags */ |
| #define | DDL_I2C_EVENT_MASTER_BYTE_TRANSMITTING 0x00070080u /* TRFLG, BUSBSYFLG, MSFLG, TXBEFLG flags */ |
| #define | DDL_I2C_EVENT_MASTER_BYTE_TRANSMITTED 0x00070084u /* TRFLG, BUSBSYFLG, MSFLG, TXBEFLG and BTCFLG flags */ |
| #define | DDL_I2C_EVENT_SLAVE_RECEIVER_ADDRESS_MATCHED 0x00020002u /* BUSBSYFLG and ADDRFLG flags */ |
| #define | DDL_I2C_EVENT_SLAVE_TRANSMITTER_ADDRESS_MATCHED 0x00060082u /* TRFLG, BUSBSYFLG, TXBEFLG and ADDRFLG flags */ |
| #define | DDL_I2C_EVENT_SLAVE_RECEIVER_SECONDADDRESS_MATCHED 0x00820000u /* DUALF and BUSBSYFLG flags */ |
| #define | DDL_I2C_EVENT_SLAVE_TRANSMITTER_SECONDADDRESS_MATCHED 0x00860080u /* DUALF, TRFLG, BUSBSYFLG and TXBEFLG flags */ |
| #define | DDL_I2C_EVENT_SLAVE_GENERALCALLADDRESS_MATCHED 0x00120000u /* GENCALL and BUSBSYFLG flags */ |
| #define | DDL_I2C_EVENT_SLAVE_BYTE_RECEIVED 0x00020040u /* BUSBSYFLG and RXBNEFLG flags */ |
| #define | DDL_I2C_EVENT_SLAVE_BYTE_RECEIVED1 0x00820040u /* DUALADDRFLG, BUSBSYFLG and RXBNEFLG flags */ |
| #define | DDL_I2C_EVENT_SLAVE_BYTE_RECEIVED2 0x00120040u /* GENCALLFLG, BUSBSYFLG and RXBNEFLG flags */ |
| #define | DDL_I2C_EVENT_SLAVE_STOP_DETECTED 0x00000010u /* STOPFLG flag */ |
| #define | DDL_I2C_EVENT_SLAVE_BYTE_TRANSMITTED 0x00060084u /* TRFLG, BUSBSYFLG, TXBEFLG and BTCFLG flags */ |
| #define | DDL_I2C_EVENT_SLAVE_BYTE_TRANSMITTED1 0x00860084u /* DUALADDRFLG, TRFLG, BUSBSYFLG, TXBEFLG and BTCFLG flags */ |
| #define | DDL_I2C_EVENT_SLAVE_BYTE_TRANSMITTED2 0x00160084u /* GENCALLFLG, TRFLG, BUSBSYFLG, TXBEFLG and BTCFLG flags */ |
| #define | DDL_I2C_EVENT_SLAVE_BYTE_TRANSMITTING 0x00060080u /* TRFLG, BUSBSYFLG and TXBEFLG flags */ |
| #define | DDL_I2C_EVENT_SLAVE_ACK_FAILURE 0x00000400u /* AEFLG flag */ |
These defines represent various I2C event flags, which can be used with the DDL_I2C_ReadReg function to identify and check specific I2C status or event conditions.
| #define DDL_I2C_EVENT_MASTER_BYTE_RECEIVED 0x00030040u /* BUSBSYFLG, MSFLG and RXBNEFLG flags */ |
Definition at line 191 of file g32r4xx_ddl_i2c.h.
| #define DDL_I2C_EVENT_MASTER_BYTE_TRANSMITTED 0x00070084u /* TRFLG, BUSBSYFLG, MSFLG, TXBEFLG and BTCFLG flags */ |
Definition at line 193 of file g32r4xx_ddl_i2c.h.
| #define DDL_I2C_EVENT_MASTER_BYTE_TRANSMITTING 0x00070080u /* TRFLG, BUSBSYFLG, MSFLG, TXBEFLG flags */ |
Definition at line 192 of file g32r4xx_ddl_i2c.h.
| #define DDL_I2C_EVENT_MASTER_MODE_ADDRESS10 0x00030008u /* BUSBSYFLG, MSFLG and ADDR10FLG flags */ |
Definition at line 190 of file g32r4xx_ddl_i2c.h.
| #define DDL_I2C_EVENT_MASTER_MODE_SELECT 0x00030001u /* BUSBSYFLG, MSFLG and STARTFLG flag */ |
Definition at line 187 of file g32r4xx_ddl_i2c.h.
| #define DDL_I2C_EVENT_MASTER_RECEIVER_MODE_SELECTED 0x00030002u /* BUSBSYFLG, MSFLG and ADDRFLG flags */ |
Definition at line 189 of file g32r4xx_ddl_i2c.h.
| #define DDL_I2C_EVENT_MASTER_TRANSMITTER_MODE_SELECTED 0x00070082u /* BUSBSYFLG, MSFLG, ADDRFLG, TXBEFLG and TRFLG flags */ |
Definition at line 188 of file g32r4xx_ddl_i2c.h.
| #define DDL_I2C_EVENT_SLAVE_ACK_FAILURE 0x00000400u /* AEFLG flag */ |
Definition at line 213 of file g32r4xx_ddl_i2c.h.
| #define DDL_I2C_EVENT_SLAVE_BYTE_RECEIVED 0x00020040u /* BUSBSYFLG and RXBNEFLG flags */ |
Definition at line 203 of file g32r4xx_ddl_i2c.h.
| #define DDL_I2C_EVENT_SLAVE_BYTE_RECEIVED1 0x00820040u /* DUALADDRFLG, BUSBSYFLG and RXBNEFLG flags */ |
Definition at line 204 of file g32r4xx_ddl_i2c.h.
| #define DDL_I2C_EVENT_SLAVE_BYTE_RECEIVED2 0x00120040u /* GENCALLFLG, BUSBSYFLG and RXBNEFLG flags */ |
Definition at line 205 of file g32r4xx_ddl_i2c.h.
| #define DDL_I2C_EVENT_SLAVE_BYTE_TRANSMITTED 0x00060084u /* TRFLG, BUSBSYFLG, TXBEFLG and BTCFLG flags */ |
Definition at line 209 of file g32r4xx_ddl_i2c.h.
| #define DDL_I2C_EVENT_SLAVE_BYTE_TRANSMITTED1 0x00860084u /* DUALADDRFLG, TRFLG, BUSBSYFLG, TXBEFLG and BTCFLG flags */ |
Definition at line 210 of file g32r4xx_ddl_i2c.h.
| #define DDL_I2C_EVENT_SLAVE_BYTE_TRANSMITTED2 0x00160084u /* GENCALLFLG, TRFLG, BUSBSYFLG, TXBEFLG and BTCFLG flags */ |
Definition at line 211 of file g32r4xx_ddl_i2c.h.
| #define DDL_I2C_EVENT_SLAVE_BYTE_TRANSMITTING 0x00060080u /* TRFLG, BUSBSYFLG and TXBEFLG flags */ |
Definition at line 212 of file g32r4xx_ddl_i2c.h.
| #define DDL_I2C_EVENT_SLAVE_GENERALCALLADDRESS_MATCHED 0x00120000u /* GENCALL and BUSBSYFLG flags */ |
Definition at line 200 of file g32r4xx_ddl_i2c.h.
| #define DDL_I2C_EVENT_SLAVE_RECEIVER_ADDRESS_MATCHED 0x00020002u /* BUSBSYFLG and ADDRFLG flags */ |
Definition at line 196 of file g32r4xx_ddl_i2c.h.
| #define DDL_I2C_EVENT_SLAVE_RECEIVER_SECONDADDRESS_MATCHED 0x00820000u /* DUALF and BUSBSYFLG flags */ |
Definition at line 198 of file g32r4xx_ddl_i2c.h.
| #define DDL_I2C_EVENT_SLAVE_STOP_DETECTED 0x00000010u /* STOPFLG flag */ |
Definition at line 206 of file g32r4xx_ddl_i2c.h.
| #define DDL_I2C_EVENT_SLAVE_TRANSMITTER_ADDRESS_MATCHED 0x00060082u /* TRFLG, BUSBSYFLG, TXBEFLG and ADDRFLG flags */ |
Definition at line 197 of file g32r4xx_ddl_i2c.h.
| #define DDL_I2C_EVENT_SLAVE_TRANSMITTER_SECONDADDRESS_MATCHED 0x00860080u /* DUALF, TRFLG, BUSBSYFLG and TXBEFLG flags */ |
Definition at line 199 of file g32r4xx_ddl_i2c.h.