_i2c_init Struct Reference

I2C Configuration Structure definition. More...

#include <gr55xx_hal_i2c.h>

Public Attributes

uint32_t speed
 Specifies the I2C transfer speed. More...
 
uint32_t own_address
 Specifies the device own address. More...
 
uint32_t addressing_mode
 Specifies if 7-bit or 10-bit addressing mode is selected. More...
 
uint32_t general_call_mode
 Specifies if general call mode is selected. More...
 

Detailed Description

I2C Configuration Structure definition.

Definition at line 166 of file gr55xx_hal_i2c.h.

Member Data 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

Definition at line 174 of file gr55xx_hal_i2c.h.

◆ 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

Definition at line 177 of file gr55xx_hal_i2c.h.

◆ own_address

uint32_t _i2c_init::own_address

Specifies the device own address.

This parameter can be a 7-bit or 10-bit address.

Definition at line 171 of file gr55xx_hal_i2c.h.

◆ speed

uint32_t _i2c_init::speed

Specifies the I2C transfer speed.

This parameter can be a value of I2C Transfer Speed

Definition at line 168 of file gr55xx_hal_i2c.h.


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