#include <drv_i2c.h>
|
| union { | |
| |
| struct { | |
| |
| volatile bool cmd_ok: 1 | |
| | Bit #0: flag indicating the validity of the command byte. More...
|
| |
| volatile bool pec_ok: 1 | |
| | Bit #1: flag indicating PEC error (CRC error in datastream) More...
|
| |
| volatile bool done: 1 | |
| | Bit #2: flag indicating that I2C module is finished processing this message. More...
|
| |
| volatile bool timeout: 1 | |
| | Bit #3: flag indicating that I2C message has not been received withing timeout period. More...
|
| |
| volatile unsigned: 1 | |
| | Bit #4: unused
More...
|
| |
| } bits | |
| |
| volatile uint8_t value | |
| |
| }; | | |
| |
Definition at line 60 of file drv_i2c.h.
◆ [union]
◆ [struct]
◆ cmd_ok
◆ done
◆ pec_ok
◆ timeout
◆ unsigned
Bit #7: unused
Bit #6: unused
Bit #5: unused
Definition at line 69 of file drv_i2c.h.
◆ value
The documentation for this struct was generated from the following file:
- D:/Firmware/MCU16ASMPS_TestEnvironment/_deployment/dspic33ch-power-totem-pole-demonstration-application-single-phase/dspic33ch_totem_pole_single_phase_primary_IL.X/sources/driver/i2c/drv_i2c.h