Sapphire SoC DS Sapphire SoC UG Sapphire HP SoC DS Sapphire HP SoC UG RISC-V Embedded IDE UG Board Support Package
Loading...
Searching...
No Matches
i2c_hwreg_t Struct Reference

#include <i2c.h>

Data Fields

u32 TX_DATA
 Address Offset: 0x00 *‍/.
u32 TX_ACK
 Address Offset: 0x04 *‍/.
u32 RX_DATA
 Address Offset: 0x08 *‍/.
u32 RX_ACK
 Address Offset: 0x0C *‍/.
u32 RESERVED0 [4]
 Reserved Space (0x0C to 0x16) *‍/.
u32 INTERRUPT
 Address Offset: 0x20 *‍/.
u32 INTERRUPT_CLEAR
 Address Offset: 0x24 *‍/.
u32 SAMPLING_CLOCK_DIVIDER
 Address Offset: 0x28 *‍/.
u32 TIMEOUT
 Address Offset: 0x2C *‍/.
u32 TSU_DATA
 Address Offset: 0x30 *‍/.
u32 RESERVED1 [3]
 Reserved Space (0x34 to 0x3C) *‍/.
u32 MASTER_STATUS
 Address Offset: 0x40 *‍/.
u32 SLAVE_STATUS
 Address Offset: 0x44 *‍/.
u32 SLAVE_OVERRIDE
 Address Offset: 0x48 *‍/.
u32 RESERVED2
 Address Offset: 0x4C *‍/.
u32 tLOW
 Address Offset: 0x50 *‍/.
u32 tHIGH
 Address Offset: 0x54 *‍/.
u32 tBUF
 Address Offset: 0x58 *‍/.
u32 RESERVED3 [9]
 Reserved Space (0x5C to 0x7C) *‍/.
u32 HIT_CONTEXT
 Address Offset: 0x80 *‍/.
u32 FILTER_STATUS
 Address Offset: 0x84 *‍/.
i2c_filter_hwreg_t FILTER [3]
 Address Offset: 0x8C *‍/.

Detailed Description

I2C hardware register map.

Note
This is the main structure that maps directly onto the I2C peripheral memory-mapped register layout.

Definition at line 216 of file i2c.h.

Field Documentation

◆ FILTER

i2c_filter_hwreg_t i2c_hwreg_t::FILTER[3]

Address Offset: 0x8C *‍/.

Definition at line 238 of file i2c.h.

◆ FILTER_STATUS

u32 i2c_hwreg_t::FILTER_STATUS

Address Offset: 0x84 *‍/.

Definition at line 237 of file i2c.h.

◆ HIT_CONTEXT

u32 i2c_hwreg_t::HIT_CONTEXT

Address Offset: 0x80 *‍/.

Definition at line 236 of file i2c.h.

◆ INTERRUPT

u32 i2c_hwreg_t::INTERRUPT

Address Offset: 0x20 *‍/.

Definition at line 222 of file i2c.h.

◆ INTERRUPT_CLEAR

u32 i2c_hwreg_t::INTERRUPT_CLEAR

Address Offset: 0x24 *‍/.

Definition at line 223 of file i2c.h.

◆ MASTER_STATUS

u32 i2c_hwreg_t::MASTER_STATUS

Address Offset: 0x40 *‍/.

Definition at line 228 of file i2c.h.

◆ RESERVED0

u32 i2c_hwreg_t::RESERVED0[4]

Reserved Space (0x0C to 0x16) *‍/.

Definition at line 221 of file i2c.h.

◆ RESERVED1

u32 i2c_hwreg_t::RESERVED1[3]

Reserved Space (0x34 to 0x3C) *‍/.

Definition at line 227 of file i2c.h.

◆ RESERVED2

u32 i2c_hwreg_t::RESERVED2

Address Offset: 0x4C *‍/.

Definition at line 231 of file i2c.h.

◆ RESERVED3

u32 i2c_hwreg_t::RESERVED3[9]

Reserved Space (0x5C to 0x7C) *‍/.

Definition at line 235 of file i2c.h.

◆ RX_ACK

u32 i2c_hwreg_t::RX_ACK

Address Offset: 0x0C *‍/.

Definition at line 220 of file i2c.h.

◆ RX_DATA

u32 i2c_hwreg_t::RX_DATA

Address Offset: 0x08 *‍/.

Definition at line 219 of file i2c.h.

◆ SAMPLING_CLOCK_DIVIDER

u32 i2c_hwreg_t::SAMPLING_CLOCK_DIVIDER

Address Offset: 0x28 *‍/.

Definition at line 224 of file i2c.h.

◆ SLAVE_OVERRIDE

u32 i2c_hwreg_t::SLAVE_OVERRIDE

Address Offset: 0x48 *‍/.

Definition at line 230 of file i2c.h.

◆ SLAVE_STATUS

u32 i2c_hwreg_t::SLAVE_STATUS

Address Offset: 0x44 *‍/.

Definition at line 229 of file i2c.h.

◆ tBUF

u32 i2c_hwreg_t::tBUF

Address Offset: 0x58 *‍/.

Definition at line 234 of file i2c.h.

◆ tHIGH

u32 i2c_hwreg_t::tHIGH

Address Offset: 0x54 *‍/.

Definition at line 233 of file i2c.h.

◆ TIMEOUT

u32 i2c_hwreg_t::TIMEOUT

Address Offset: 0x2C *‍/.

Definition at line 225 of file i2c.h.

◆ tLOW

u32 i2c_hwreg_t::tLOW

Address Offset: 0x50 *‍/.

Definition at line 232 of file i2c.h.

◆ TSU_DATA

u32 i2c_hwreg_t::TSU_DATA

Address Offset: 0x30 *‍/.

Definition at line 226 of file i2c.h.

◆ TX_ACK

u32 i2c_hwreg_t::TX_ACK

Address Offset: 0x04 *‍/.

Definition at line 218 of file i2c.h.

◆ TX_DATA

u32 i2c_hwreg_t::TX_DATA

Address Offset: 0x00 *‍/.

Definition at line 217 of file i2c.h.


The documentation for this struct was generated from the following file:
  • C:/Users/JasonLau/Downloads/workspace_local/GitLab/efx_IP/efx_soc_rv64/embedded_sw/software/standalone/driver/i2c/i2c.h