19#ifndef CFG_I2C_DEFAULT_H
20#define CFG_I2C_DEFAULT_H
22#include "periph_cpu.h"
45#define I2C_DEV_1_USED 0
65 .rcu_mask = RCU_APB1EN_I2C0EN_Msk,
74 .rcu_mask = RCU_APB1EN_I2C1EN_Msk,
80#define I2C_NUMOF ARRAY_SIZE(i2c_config)
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
static const i2c_conf_t i2c_config[]
Default I2C device configuration.
I2C configuration structure.
TWI_t * dev
Pointer to hardware module registers.