cfg_i2c_default.h File Reference

Common default I2C configuration for the RE-Mote board revision A. More...

Detailed Description

Common default I2C configuration for the RE-Mote board revision A.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de
Antonio Lignan alina.nosp@m.n@zo.nosp@m.lerti.nosp@m.a.co.nosp@m.m
Sebastian Meiling s@mln.nosp@m.g.ne.nosp@m.t

Definition in file cfg_i2c_default.h.

#include "periph_cpu.h"
+ Include dependency graph for cfg_i2c_default.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

I2C configuration

#define I2C_IRQ_PRIO   1
 
#define I2C_NUMOF   ARRAY_SIZE(i2c_config)
 
static const i2c_conf_t i2c_config []
 

Variable Documentation

◆ i2c_config

const i2c_conf_t i2c_config[]
static
Initial value:
= {
{
.speed = I2C_SPEED_FAST,
.scl_pin = GPIO_PIN(PORT_C, 3),
.sda_pin = GPIO_PIN(PORT_C, 2)
},
}

Definition at line 37 of file cfg_i2c_default.h.

PORT_C
@ PORT_C
port C
Definition: periph_cpu.h:38
GPIO_PIN
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
Definition: periph_cpu.h:35
I2C_SPEED_FAST
@ I2C_SPEED_FAST
fast mode: ~400 kbit/s
Definition: i2c.h:178