_i2c_init Struct Reference

I2C Configuration Structure definition. More...

#include <gr55xx_hal_i2c.h>

Data Fields

uint32_t speed
 
uint32_t own_address
 
uint32_t addressing_mode
 
uint32_t general_call_mode
 

Detailed Description

I2C Configuration Structure definition.

Field Documentation

◆ addressing_mode

uint32_t _i2c_init::addressing_mode

Specifies if 7-bit or 10-bit addressing mode is selected. This parameter can be a value of I2C Addressing Mode

◆ general_call_mode

uint32_t _i2c_init::general_call_mode

Specifies if general call mode is selected. This parameter can be a value of I2C General Call Addressing Mode

◆ own_address

uint32_t _i2c_init::own_address

Specifies the device own address. This parameter can be a 7-bit or 10-bit address.

◆ speed

uint32_t _i2c_init::speed

Specifies the I2C transfer speed. This parameter can be a value of I2C Transfer Speed


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