I2C register mapΒΆ

Register Name

Register offset

Field name

Field position

Description

RESERVED

0x0

reserved

31:0

reserved

CONTROL REGISTER

0x4

slave_adress

6:0

Address of the target slave

direction

7

I2C transfer direction

timebase_enable

8

I2C clock prescaler enable

REGISTER ADDRESS

0x8

register_adress

7:0

Address of the target register

TRANSFER DATA

0xC

data

7:0

data

CLOCK PRESCALER

0x10

prescale

31:0

Period of the I2C clock in number of main clock cycles

START TRANSFER

0x14

start

31:0

Start a I2C transfer

AUTOMATED_WRITE

0x18

register_address

7:0

Address of the target register

slave_address

15:8

Address of the target slave

data

23:16

data to transfer