I²C configuration structure. More...
#include <i2c.h>
Public Attributes | |
hal_i2c_speed_t | clock_speed |
uint8_t | own_address |
bool | acknowledge |
I²C configuration structure.
bool hal_i2c_config_t::acknowledge |
Enable/disable ACK
hal_i2c_speed_t hal_i2c_config_t::clock_speed |
Clock speed in Hz
uint8_t hal_i2c_config_t::own_address |
7-bit device address (0 if master)