Altera SoCAL  16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
 All Data Structures Variables Typedefs Groups
Component Instance : i2c2

Description

Instance i2c2 of component ALT_I2C.

Macros

#define ALT_I2C2_IC_CON_ADDR   ALT_I2C_CON_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_TAR_ADDR   ALT_I2C_TAR_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_SAR_ADDR   ALT_I2C_SAR_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_DATA_CMD_ADDR   ALT_I2C_DATA_CMD_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_SS_SCL_HCNT_ADDR   ALT_I2C_SS_SCL_HCNT_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_SS_SCL_LCNT_ADDR   ALT_I2C_SS_SCL_LCNT_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_FS_SCL_HCNT_ADDR   ALT_I2C_FS_SCL_HCNT_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_FS_SCL_LCNT_ADDR   ALT_I2C_FS_SCL_LCNT_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_INTR_STAT_ADDR   ALT_I2C_INTR_STAT_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_INTR_MSK_ADDR   ALT_I2C_INTR_MSK_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_RAW_INTR_STAT_ADDR   ALT_I2C_RAW_INTR_STAT_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_RX_TL_ADDR   ALT_I2C_RX_TL_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_TX_TL_ADDR   ALT_I2C_TX_TL_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_CLR_INTR_ADDR   ALT_I2C_CLR_INTR_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_CLR_RX_UNDER_ADDR   ALT_I2C_CLR_RX_UNDER_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_CLR_RX_OVER_ADDR   ALT_I2C_CLR_RX_OVER_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_CLR_TX_OVER_ADDR   ALT_I2C_CLR_TX_OVER_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_CLR_RD_REQ_ADDR   ALT_I2C_CLR_RD_REQ_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_CLR_TX_ABRT_ADDR   ALT_I2C_CLR_TX_ABRT_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_CLR_RX_DONE_ADDR   ALT_I2C_CLR_RX_DONE_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_CLR_ACTIVITY_ADDR   ALT_I2C_CLR_ACTIVITY_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_CLR_STOP_DET_ADDR   ALT_I2C_CLR_STOP_DET_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_CLR_START_DET_ADDR   ALT_I2C_CLR_START_DET_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_CLR_GEN_CALL_ADDR   ALT_I2C_CLR_GEN_CALL_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_EN_ADDR   ALT_I2C_EN_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_STAT_ADDR   ALT_I2C_STAT_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_TXFLR_ADDR   ALT_I2C_TXFLR_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_RXFLR_ADDR   ALT_I2C_RXFLR_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_SDA_HOLD_ADDR   ALT_I2C_SDA_HOLD_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_TX_ABRT_SRC_ADDR   ALT_I2C_TX_ABRT_SRC_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_SLV_DATA_NACK_ONLY_ADDR   ALT_I2C_SLV_DATA_NACK_ONLY_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_DMA_CR_ADDR   ALT_I2C_DMA_CR_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_DMA_TDLR_ADDR   ALT_I2C_DMA_TDLR_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_DMA_RDLR_ADDR   ALT_I2C_DMA_RDLR_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_SDA_SETUP_ADDR   ALT_I2C_SDA_SETUP_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_ACK_GENERAL_CALL_ADDR   ALT_I2C_ACK_GENERAL_CALL_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_EN_STAT_ADDR   ALT_I2C_EN_STAT_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_FS_SPKLEN_ADDR   ALT_I2C_FS_SPKLEN_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_COMP_PARAM_1_ADDR   ALT_I2C_COMP_PARAM_1_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_COMP_VER_ADDR   ALT_I2C_COMP_VER_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_IC_COMP_TYPE_ADDR   ALT_I2C_COMP_TYPE_ADDR(ALT_I2C2_ADDR)
 
#define ALT_I2C2_OFST   0xffc06000
 
#define ALT_I2C2_ADDR   ALT_CAST(void *, (ALT_CAST(char *, ALT_HPS_ADDR) + ALT_I2C2_OFST))
 
#define ALT_I2C2_LB_ADDR   ALT_I2C2_ADDR
 
#define ALT_I2C2_UB_ADDR   ALT_CAST(void *, ((ALT_CAST(char *, ALT_I2C2_ADDR) + 0x100) - 1))
 

Macro Definitions

#define ALT_I2C2_IC_CON_ADDR   ALT_I2C_CON_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_CON register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_TAR_ADDR   ALT_I2C_TAR_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_TAR register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_SAR_ADDR   ALT_I2C_SAR_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_SAR register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_DATA_CMD_ADDR   ALT_I2C_DATA_CMD_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_DATA_CMD register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_SS_SCL_HCNT_ADDR   ALT_I2C_SS_SCL_HCNT_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_SS_SCL_HCNT register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_SS_SCL_LCNT_ADDR   ALT_I2C_SS_SCL_LCNT_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_SS_SCL_LCNT register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_FS_SCL_HCNT_ADDR   ALT_I2C_FS_SCL_HCNT_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_FS_SCL_HCNT register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_FS_SCL_LCNT_ADDR   ALT_I2C_FS_SCL_LCNT_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_FS_SCL_LCNT register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_INTR_STAT_ADDR   ALT_I2C_INTR_STAT_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_INTR_STAT register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_INTR_MSK_ADDR   ALT_I2C_INTR_MSK_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_INTR_MSK register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_RAW_INTR_STAT_ADDR   ALT_I2C_RAW_INTR_STAT_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_RAW_INTR_STAT register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_RX_TL_ADDR   ALT_I2C_RX_TL_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_RX_TL register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_TX_TL_ADDR   ALT_I2C_TX_TL_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_TX_TL register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_CLR_INTR_ADDR   ALT_I2C_CLR_INTR_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_CLR_INTR register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_CLR_RX_UNDER_ADDR   ALT_I2C_CLR_RX_UNDER_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_CLR_RX_UNDER register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_CLR_RX_OVER_ADDR   ALT_I2C_CLR_RX_OVER_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_CLR_RX_OVER register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_CLR_TX_OVER_ADDR   ALT_I2C_CLR_TX_OVER_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_CLR_TX_OVER register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_CLR_RD_REQ_ADDR   ALT_I2C_CLR_RD_REQ_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_CLR_RD_REQ register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_CLR_TX_ABRT_ADDR   ALT_I2C_CLR_TX_ABRT_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_CLR_TX_ABRT register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_CLR_RX_DONE_ADDR   ALT_I2C_CLR_RX_DONE_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_CLR_RX_DONE register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_CLR_ACTIVITY_ADDR   ALT_I2C_CLR_ACTIVITY_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_CLR_ACTIVITY register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_CLR_STOP_DET_ADDR   ALT_I2C_CLR_STOP_DET_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_CLR_STOP_DET register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_CLR_START_DET_ADDR   ALT_I2C_CLR_START_DET_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_CLR_START_DET register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_CLR_GEN_CALL_ADDR   ALT_I2C_CLR_GEN_CALL_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_CLR_GEN_CALL register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_EN_ADDR   ALT_I2C_EN_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_EN register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_STAT_ADDR   ALT_I2C_STAT_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_STAT register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_TXFLR_ADDR   ALT_I2C_TXFLR_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_TXFLR register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_RXFLR_ADDR   ALT_I2C_RXFLR_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_RXFLR register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_SDA_HOLD_ADDR   ALT_I2C_SDA_HOLD_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_SDA_HOLD register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_TX_ABRT_SRC_ADDR   ALT_I2C_TX_ABRT_SRC_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_TX_ABRT_SRC register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_SLV_DATA_NACK_ONLY_ADDR   ALT_I2C_SLV_DATA_NACK_ONLY_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_SLV_DATA_NACK_ONLY register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_DMA_CR_ADDR   ALT_I2C_DMA_CR_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_DMA_CR register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_DMA_TDLR_ADDR   ALT_I2C_DMA_TDLR_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_DMA_TDLR register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_DMA_RDLR_ADDR   ALT_I2C_DMA_RDLR_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_DMA_RDLR register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_SDA_SETUP_ADDR   ALT_I2C_SDA_SETUP_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_SDA_SETUP register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_ACK_GENERAL_CALL_ADDR   ALT_I2C_ACK_GENERAL_CALL_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_ACK_GENERAL_CALL register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_EN_STAT_ADDR   ALT_I2C_EN_STAT_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_EN_STAT register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_FS_SPKLEN_ADDR   ALT_I2C_FS_SPKLEN_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_FS_SPKLEN register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_COMP_PARAM_1_ADDR   ALT_I2C_COMP_PARAM_1_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_COMP_PARAM_1 register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_COMP_VER_ADDR   ALT_I2C_COMP_VER_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_COMP_VER register for the ALT_I2C2 instance.

#define ALT_I2C2_IC_COMP_TYPE_ADDR   ALT_I2C_COMP_TYPE_ADDR(ALT_I2C2_ADDR)

The address of the ALT_I2C_COMP_TYPE register for the ALT_I2C2 instance.

#define ALT_I2C2_OFST   0xffc06000

The base address byte offset for the start of the ALT_I2C2 component.

#define ALT_I2C2_ADDR   ALT_CAST(void *, (ALT_CAST(char *, ALT_HPS_ADDR) + ALT_I2C2_OFST))

The start address of the ALT_I2C2 component.

#define ALT_I2C2_LB_ADDR   ALT_I2C2_ADDR

The lower bound address range of the ALT_I2C2 component.

#define ALT_I2C2_UB_ADDR   ALT_CAST(void *, ((ALT_CAST(char *, ALT_I2C2_ADDR) + 0x100) - 1))

The upper bound address range of the ALT_I2C2 component.