Bar Logo 3.8/7.6 kw Totem pole Demonstration Application (Part-No. (not specified))
 
Content
     
Loading...
Searching...
No Matches
I2C_STATUS_s Struct Reference

#include <drv_i2c.h>

+ Collaboration diagram for I2C_STATUS_s:

Data Fields

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 
 
};  
 

Detailed Description

Definition at line 60 of file drv_i2c.h.

Field Documentation

◆ [union]

union { ... }

◆ [struct]

struct { ... } bits

◆ cmd_ok

volatile bool cmd_ok

Definition at line 65 of file drv_i2c.h.

◆ done

volatile bool done

Definition at line 67 of file drv_i2c.h.

◆ pec_ok

volatile bool pec_ok

Definition at line 66 of file drv_i2c.h.

◆ timeout

volatile bool timeout

Definition at line 68 of file drv_i2c.h.

◆ unsigned

volatile unsigned

Bit #7: unused

Bit #6: unused

Bit #5: unused

Definition at line 69 of file drv_i2c.h.

◆ value

volatile uint8_t value

Definition at line 75 of file drv_i2c.h.


The documentation for this struct was generated from the following file: