i2c_conf_t Struct Reference

I2C configuration options. More...

Detailed Description

I2C configuration options.

I2C configuration data structure.

I2C (TWI) configuration options.

I2C device configuration.

Definition at line 84 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
 
I2C_TypeDef * dev
 USART device used. More...
 
uint32_t loc
 location of I2C pins
 
CMU_Clock_TypeDef cmu
 the device CMU channel
 
IRQn_Type irq
 the devices base IRQ channel
 
NRF_TWI_Type * dev
 hardware device
 
uint8_t pin_scl
 SCL pin.
 
uint8_t pin_sda
 SDA pin.
 
uint8_t ppi
 PPI channel to use.
 
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

USART device used.

i2c device

Definition at line 223 of file efm32_common/include/periph_cpu.h.


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