|
HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
|
I2C device configuration structure. More...
#include <EspTypes_I2C.h>
Public Member Functions | |
| hf_i2c_device_config_t () noexcept | |
| Default constructor with sensible defaults. | |
| hf_i2c_device_config_t () noexcept | |
Public Attributes | |
| uint16_t | device_address |
| 7-bit or 10-bit device address | |
| hf_i2c_address_bits_t | dev_addr_length |
| Address bit length (7 or 10 bit) | |
| uint32_t | scl_speed_hz |
| SCL clock frequency for this device. | |
| uint32_t | scl_wait_us |
| SCL wait time in microseconds. | |
| bool | disable_ack_check |
| Disable ACK check for this device. | |
| uint32_t | flags |
| Device-specific configuration flags. | |
| hf_u16_t | device_address |
| 7-bit or 10-bit address | |
| hf_stm32_i2c_addr_mode_t | addr_mode |
| Address mode. | |
| hf_u32_t | scl_speed_hz |
| SCL clock speed (informational) | |
I2C device configuration structure.
I2C device configuration for STM32.
Configuration for adding a device to an I2C master bus.
|
inlinenoexcept |
Default constructor with sensible defaults.
|
inlinenoexcept |
| hf_stm32_i2c_addr_mode_t hf_i2c_device_config_t::addr_mode |
Address mode.
| hf_i2c_address_bits_t hf_i2c_device_config_t::dev_addr_length |
Address bit length (7 or 10 bit)
| uint16_t hf_i2c_device_config_t::device_address |
7-bit or 10-bit device address
| hf_u16_t hf_i2c_device_config_t::device_address |
7-bit or 10-bit address
| bool hf_i2c_device_config_t::disable_ack_check |
Disable ACK check for this device.
Disable ACK checking.
| uint32_t hf_i2c_device_config_t::flags |
Device-specific configuration flags.
| uint32_t hf_i2c_device_config_t::scl_speed_hz |
SCL clock frequency for this device.
| hf_u32_t hf_i2c_device_config_t::scl_speed_hz |
SCL clock speed (informational)
| uint32_t hf_i2c_device_config_t::scl_wait_us |
SCL wait time in microseconds.