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_periph Struct Reference

I2C peripheral structure. More...

#include <i2c.h>

+ Collaboration diagram for i2c_periph:

Data Fields

struct i2c_transactiontrans [I2C_TRANSACTION_QUEUE_LEN]
 
uint8_t trans_insert_idx
 
uint8_t trans_extract_idx
 
enum I2CStatus status
 
volatile uint8_t idx_buf
 
void * reg_addr
 
void * init_struct
 
struct i2c_errorserrors
 
volatile int16_t watchdog
 

Detailed Description

I2C peripheral structure.

Definition at line 138 of file i2c.h.

Field Documentation

struct i2c_errors* i2c_periph::errors

Definition at line 148 of file i2c.h.

Referenced by i2c_error(), i2c_irq(), and i2c_submit().

volatile uint8_t i2c_periph::idx_buf

Definition at line 145 of file i2c.h.

Referenced by PPRZ_I2C_SEND_START(), stmi2c_readmany(), and stmi2c_send().

void* i2c_periph::init_struct

Definition at line 147 of file i2c.h.

void* i2c_periph::reg_addr

Definition at line 146 of file i2c.h.

Referenced by i2c_error(), i2c_idle(), i2c_irq(), i2c_setbitrate(), and PPRZ_I2C_SEND_START().

enum I2CStatus i2c_periph::status
struct i2c_transaction* i2c_periph::trans[I2C_TRANSACTION_QUEUE_LEN]

Definition at line 140 of file i2c.h.

Referenced by i2c_irq(), and i2c_submit().

uint8_t i2c_periph::trans_extract_idx

Definition at line 142 of file i2c.h.

Referenced by i2c_init(), i2c_irq(), and i2c_submit().

uint8_t i2c_periph::trans_insert_idx

Definition at line 141 of file i2c.h.

Referenced by i2c_init(), i2c_irq(), and i2c_submit().

volatile int16_t i2c_periph::watchdog

Definition at line 149 of file i2c.h.

Referenced by i2c_irq().


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