snickerdoodle Platform Controller
firmware for STM32F0 platform controller
sd_i2c_dev Struct Reference

I2C device structure. More...

#include <sd_i2c.h>

Data Fields

I2C_HandleTypeDef * i2c
 
struct sd_cbufrx_buff
 
enum sd_i2c_state state
 
uint8_t error
 

Detailed Description

I2C device structure.

Field Documentation

◆ error

uint8_t error

Error flags from the peripheral

◆ i2c

I2C_HandleTypeDef* i2c

I2C Handle

◆ rx_buff

struct sd_cbuf* rx_buff

Buffer for I2C receive

◆ state

enum sd_i2c_state state

State of the I2C


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