cfg_i2c_default.h File Reference

Default I2C config for nRF52 based boards. More...

Detailed Description

Default I2C config for nRF52 based boards.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file cfg_i2c_default.h.

#include "periph_cpu.h"
+ Include dependency graph for cfg_i2c_default.h:

Go to the source code of this file.

I2C configuration

#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:
= {
{
.dev = NRF_TWIM1,
.scl = 27,
.sda = 26,
}
}

Definition at line 33 of file cfg_i2c_default.h.

I2C_SPEED_NORMAL
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
Definition: i2c.h:177