WE310F5  39.00.000
M2MB_I2C_CFG_T Struct Reference

#include <m2mb_i2c.h>

Data Fields

M2MB_I2C_MODE_T i2c_mode
 
M2MB_I2C_ADDR_T i2c_addressing
 
UINT32 bus_Frequency_KHz
 
UINT32 slave_Address
 
UINT32 SMBUS_Mode
 
UINT32 slave_Max_Clock_Stretch_Us
 
UINT32 core_Configuration1
 
UINT32 core_Configuration2
 
UINT8buffer
 
UINT32 length
 
UINT32 transferred
 
UINT32 flags
 

Detailed Description

I2C device configuration structure.

Definition at line 83 of file m2mb_i2c.h.

Field Documentation

◆ buffer

UINT8* buffer

Buffer for the data transfer.

Definition at line 93 of file m2mb_i2c.h.

◆ bus_Frequency_KHz

UINT32 bus_Frequency_KHz

I2C bus speed in kHz.

Definition at line 87 of file m2mb_i2c.h.

◆ core_Configuration1

UINT32 core_Configuration1

Core Specific Configuration. Recommended 0.

Definition at line 91 of file m2mb_i2c.h.

◆ core_Configuration2

UINT32 core_Configuration2

Core Specific Configuration. Recommended 0.

Definition at line 92 of file m2mb_i2c.h.

◆ flags

UINT32 flags

I2C flags for for the transfer.

Definition at line 96 of file m2mb_i2c.h.

◆ i2c_addressing

M2MB_I2C_ADDR_T i2c_addressing

I2C Addressing : 7/10 bit select

Definition at line 86 of file m2mb_i2c.h.

◆ i2c_mode

M2MB_I2C_MODE_T i2c_mode

I2C Mode -Master/Slave

Definition at line 85 of file m2mb_i2c.h.

◆ length

UINT32 length

Length of the data to be transferred in bytes.

Definition at line 94 of file m2mb_i2c.h.

◆ slave_Address

UINT32 slave_Address

7/10-bit I2C slave address.

Definition at line 88 of file m2mb_i2c.h.

◆ slave_Max_Clock_Stretch_Us

UINT32 slave_Max_Clock_Stretch_Us

Maximum slave clock stretch in us that a slave might perform.

Definition at line 90 of file m2mb_i2c.h.

◆ SMBUS_Mode

UINT32 SMBUS_Mode

SMBUS mode transfers. This is not supported currently

Definition at line 89 of file m2mb_i2c.h.

◆ transferred

UINT32 transferred

Number of bytes actually transferred.

Definition at line 95 of file m2mb_i2c.h.


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