HPM SDK
HPMicro Software Development Kit
i2c_initialize_config Struct Reference

#include <hpm_i2c.h>

Data Fields

i2c_communication_mode_t communication_mode
 
i2c_speed_t speed
 
bool is_10bit_addressing
 
uint8_t slave_address
 

Detailed Description

Define the I2C initialization configuration structure This structure configures the I2C communication mode, speed, addressing method, and slave address

Field Documentation

◆ communication_mode

i2c_communication_mode_t i2c_initialize_config::communication_mode

◆ is_10bit_addressing

bool i2c_initialize_config::is_10bit_addressing

◆ slave_address

uint8_t i2c_initialize_config::slave_address

◆ speed

i2c_speed_t i2c_initialize_config::speed

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