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:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

I2C configuration

#define I2C_NUMOF   (sizeof(i2c_config) / sizeof(i2c_config[0]))
 
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,
}
}
normal mode: ~100kbit/s
Definition: periph_cpu.h:116

Definition at line 33 of file cfg_i2c_default.h.