Loading...
Searching...
No Matches
cpu_i2c.h File Reference

I2C CPU specific definitions for the STM32 family. More...

Detailed Description

I2C CPU specific definitions for the STM32 family.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de
Vincent Dupont vince.nosp@m.nt@o.nosp@m.takey.nosp@m.s.co.nosp@m.m

Definition in file cpu_i2c.h.

#include <stdint.h>
#include "cpu.h"
#include "periph/cpu_gpio.h"
+ Include dependency graph for cpu_i2c.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  i2c_conf_t
 I2C configuration structure. More...
 

Use the shared I2C functions

#define PERIPH_I2C_NEED_READ_REG
 Use read reg function from periph common.
 
#define PERIPH_I2C_NEED_WRITE_REG
 Use write reg function from periph common.
 
#define PERIPH_I2C_NEED_READ_REGS
 Use read regs function from periph common.
 

Macro Definition Documentation

◆ PERIPH_I2C_NEED_READ_REG

#define PERIPH_I2C_NEED_READ_REG

Use read reg function from periph common.

Definition at line 38 of file cpu_i2c.h.

◆ PERIPH_I2C_NEED_READ_REGS

#define PERIPH_I2C_NEED_READ_REGS

Use read regs function from periph common.

Definition at line 42 of file cpu_i2c.h.

◆ PERIPH_I2C_NEED_WRITE_REG

#define PERIPH_I2C_NEED_WRITE_REG

Use write reg function from periph common.

Definition at line 40 of file cpu_i2c.h.