Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
i2c_errors Struct Reference

I2C errors counter. More...

#include <i2c.h>

Data Fields

volatile uint16_t queue_full_cnt
 
volatile uint16_t ack_fail_cnt
 
volatile uint16_t miss_start_stop_cnt
 
volatile uint16_t arb_lost_cnt
 
volatile uint16_t over_under_cnt
 
volatile uint16_t pec_recep_cnt
 
volatile uint16_t timeout_tlow_cnt
 
volatile uint16_t smbus_alert_cnt
 
volatile uint16_t unexpected_event_cnt
 
volatile uint32_t last_unexpected_event
 
volatile uint32_t er_irq_cnt
 
volatile uint32_t irq_cnt
 
volatile uint32_t event_chain [16]
 
enum I2CStatus status_chain [16]
 

Detailed Description

I2C errors counter.

Definition at line 154 of file i2c.h.

Field Documentation

volatile uint16_t i2c_errors::ack_fail_cnt

Definition at line 156 of file i2c.h.

Referenced by i2c_error().

volatile uint16_t i2c_errors::arb_lost_cnt

Definition at line 158 of file i2c.h.

Referenced by i2c_error().

volatile uint32_t i2c_errors::er_irq_cnt

Definition at line 165 of file i2c.h.

Referenced by i2c_error().

volatile uint32_t i2c_errors::event_chain[16]

Definition at line 167 of file i2c.h.

volatile uint32_t i2c_errors::irq_cnt

Definition at line 166 of file i2c.h.

volatile uint32_t i2c_errors::last_unexpected_event

Definition at line 164 of file i2c.h.

Referenced by i2c_irq().

volatile uint16_t i2c_errors::miss_start_stop_cnt

Definition at line 157 of file i2c.h.

Referenced by i2c_error().

volatile uint16_t i2c_errors::over_under_cnt

Definition at line 159 of file i2c.h.

Referenced by i2c_error().

volatile uint16_t i2c_errors::pec_recep_cnt

Definition at line 160 of file i2c.h.

Referenced by i2c_error().

volatile uint16_t i2c_errors::queue_full_cnt

Definition at line 155 of file i2c.h.

Referenced by i2c_submit().

volatile uint16_t i2c_errors::smbus_alert_cnt

Definition at line 162 of file i2c.h.

Referenced by i2c_error().

enum I2CStatus i2c_errors::status_chain[16]

Definition at line 168 of file i2c.h.

volatile uint16_t i2c_errors::timeout_tlow_cnt

Definition at line 161 of file i2c.h.

Referenced by i2c_error().

volatile uint16_t i2c_errors::unexpected_event_cnt

Definition at line 163 of file i2c.h.

Referenced by i2c_irq().


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