The friendly Operating System for the Internet of Things
i2c_conf_t Struct Reference

I2C configuration options. More...

Detailed Description

I2C configuration data structure.

I2C (TWI) configuration options.

Definition at line 59 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
 
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 er_irqn
 error IRQ
 
uint8_t ev_irqn
 event IRQ
 

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