ruuvi.drivers.c  ${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
ri_i2c_init_config_t Struct Reference

#include <ruuvi_interface_i2c.h>

Data Fields

ri_gpio_id_t sda
 pin number of SDA More...
 
ri_gpio_id_t scl
 pin number of SCL More...
 
ri_i2c_frequency_t frequency
 Frequency of I2C Bus, see ri_i2c_frequency_t. More...
 
ri_gpio_id_t bus_pwr
 Power to pull-ups, UNUSED if fixed. More...
 

Detailed Description

Configuration for initializing I2C

Definition at line 42 of file ruuvi_interface_i2c.h.

Field Documentation

◆ bus_pwr

ri_gpio_id_t bus_pwr

Power to pull-ups, UNUSED if fixed.

Definition at line 48 of file ruuvi_interface_i2c.h.

◆ frequency

ri_i2c_frequency_t frequency

Frequency of I2C Bus, see ri_i2c_frequency_t.

Definition at line 47 of file ruuvi_interface_i2c.h.

◆ scl

pin number of SCL

Definition at line 45 of file ruuvi_interface_i2c.h.

◆ sda

pin number of SDA

Definition at line 44 of file ruuvi_interface_i2c.h.


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