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