MAV'RIC
Public Attributes
i2c_stm32_conf_t Struct Reference

Configuration structure. More...

#include <i2c_stm32.hpp>

Collaboration diagram for i2c_stm32_conf_t:
Collaboration graph
[legend]

List of all members.

Public Attributes

i2c_stm32_devices_t i2c_device_config
 I2C device number.
bool tenbit_config
 using 7 or 10 bits addressing currently only support 7bits addressing
gpio_stm32_conf_t sda_config
 sda port settings
gpio_stm32_conf_t clk_config
 clk port settings
rcc_periph_clken rcc_i2c_config
 corresponding i2c for rcc
rcc_periph_clken rcc_sda_port_config
 corresponding port for rcc
rcc_periph_clken rcc_clk_port_config
 corresponding port for rcc
uint32_t clk_speed
 i2c clk speed
uint16_t timeout
 i2c timeout

Detailed Description

Configuration structure.


The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines