Public Attributes | List of all members
_i2c_init Struct Reference
Peripheral Driver » HAL Driver » I2C » Structures » I2C Configuration

I2C Configuration Structure definition. More...

`#include <gr533x_hal_i2c.h>`

## Public Attributes
uint32_t | speed
uint32_t | own_address
uint32_t | addressing_mode
uint32_t | general_call_mode
uint32_t | tx_hold_time
uint32_t | rx_hold_time

## Detailed Description

I2C Configuration Structure definition.

Definition at line 159 of file gr533x_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 167 of file gr533x_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 170 of file gr533x_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 164 of file gr533x_hal_i2c.h.

## ◆ rx_hold_time

uint32_t _i2c_init::rx_hold_time

receive SDA hold time. the unit is ns

Definition at line 175 of file gr533x_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 161 of file gr533x_hal_i2c.h.

## ◆ tx_hold_time

uint32_t _i2c_init::tx_hold_time

transmit SDA hold time. the unit is ns

Definition at line 173 of file gr533x_hal_i2c.h.

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

- gr533x_hal_i2c.h