i2c_conf_t Struct Reference

I2C configuration options. More...

Detailed Description

I2C configuration options.

I2C configuration data structure.

I2C (TWI) configuration options.

Definition at line 146 of file cc2538/include/periph_cpu.h.

#include </tmp/RIOT/cpu/cc2538/include/periph_cpu.h>

Data Fields

gpio_t scl_pin
 pin used for SCL
gpio_t sda_pin
 pin used for SDA
NRF_TWI_Type * dev
 hardware device More...
uint8_t pin_scl
 SCL pin.
uint8_t pin_sda
 SDA pin.
uint8_t ppi
 PPI channel to use.
I2C_TypeDef * dev
 i2c device
gpio_t scl
 scl pin number
gpio_t sda
 sda pin number
gpio_mode_t pin_mode
 with or without pull resistor
gpio_af_t af
 I2C alternate function value.
uint8_t ev_irqn
 event IRQ
uint8_t er_irqn
 error IRQ

Field Documentation

◆ dev

I2C_TypeDef * i2c_conf_t::dev

hardware device

i2c device

Definition at line 61 of file nrf51/include/periph_cpu.h.

The documentation for this struct was generated from the following file: