Loading...
Searching...
No Matches
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 []
 

Macro Definition Documentation

◆ I2C_NUMOF

#define I2C_NUMOF   ARRAY_SIZE(i2c_config)

Definition at line 49 of file cfg_i2c_default.h.

Variable Documentation

◆ i2c_config

const i2c_conf_t i2c_config[]
static
Initial value:
= {
{
.dev = NRF_TWIM1,
.scl = 27,
.sda = 26,
},
}
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
Definition periph_cpu.h:278

Definition at line 33 of file cfg_i2c_default.h.