Altera SoCAL  16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
 All Data Structures Variables Typedefs Groups
Register : ic_intr_mask

Description

Name: I2C Interrupt Mask Register

Size: 14 bits

Address Offset: 0x30

Read/Write Access: Read/Write However,

if configuration parameter IC_SLV_RESTART_DET = 0, bit 13 is read only;

if configuration parameter I2C_DYNAMIC_TAR_UPDATE = 0 or IC_EMPTYFIFO_HOLD_MASTER_EN = 0, bit 14 is read only.

These bits mask their corresponding interrupt status bits.

They are active high; a value of 0 prevents a bit from

generating an interrupt.

Register Layout

Bits Access Reset Description
[0] RW 0x1 ALT_I2C_INTR_MSK_M_RX_UNDER
[1] RW 0x1 ALT_I2C_INTR_MSK_M_RX_OVER
[2] RW 0x1 ALT_I2C_INTR_MSK_M_RX_FULL
[3] RW 0x1 ALT_I2C_INTR_MSK_M_TX_OVER
[4] RW 0x1 ALT_I2C_INTR_MSK_M_TX_EMPTY
[5] RW 0x1 ALT_I2C_INTR_MSK_M_RD_REQ
[6] RW 0x1 ALT_I2C_INTR_MSK_M_TX_ABRT
[7] RW 0x1 ALT_I2C_INTR_MSK_M_RX_DONE
[8] RW 0x0 ALT_I2C_INTR_MSK_M_ACTIVITY
[9] RW 0x0 ALT_I2C_INTR_MSK_M_STOP_DET
[10] RW 0x0 ALT_I2C_INTR_MSK_M_START_DET
[11] RW 0x1 ALT_I2C_INTR_MSK_M_GEN_CALL
[12] RW 0x0 ALT_I2C_INTR_MSK_M_RESTART_DET
[13] RW 0x0 ALT_I2C_INTR_MSK_M_MST_ON_HOLD
[31:14] ??? 0x0 UNDEFINED

Field : m_rx_under

This bit masks the R_RX_UNDER interrupt in IC_INTR_STAT register.

Reset value: 0x1

Field Access Macros:

#define ALT_I2C_INTR_MSK_M_RX_UNDER_LSB   0
 
#define ALT_I2C_INTR_MSK_M_RX_UNDER_MSB   0
 
#define ALT_I2C_INTR_MSK_M_RX_UNDER_WIDTH   1
 
#define ALT_I2C_INTR_MSK_M_RX_UNDER_SET_MSK   0x00000001
 
#define ALT_I2C_INTR_MSK_M_RX_UNDER_CLR_MSK   0xfffffffe
 
#define ALT_I2C_INTR_MSK_M_RX_UNDER_RESET   0x1
 
#define ALT_I2C_INTR_MSK_M_RX_UNDER_GET(value)   (((value) & 0x00000001) >> 0)
 
#define ALT_I2C_INTR_MSK_M_RX_UNDER_SET(value)   (((value) << 0) & 0x00000001)
 

Field : m_rx_over

This bit masks the R_RX_OVER interrupt in IC_INTR_STAT register.

Reset value: 0x1

Field Access Macros:

#define ALT_I2C_INTR_MSK_M_RX_OVER_LSB   1
 
#define ALT_I2C_INTR_MSK_M_RX_OVER_MSB   1
 
#define ALT_I2C_INTR_MSK_M_RX_OVER_WIDTH   1
 
#define ALT_I2C_INTR_MSK_M_RX_OVER_SET_MSK   0x00000002
 
#define ALT_I2C_INTR_MSK_M_RX_OVER_CLR_MSK   0xfffffffd
 
#define ALT_I2C_INTR_MSK_M_RX_OVER_RESET   0x1
 
#define ALT_I2C_INTR_MSK_M_RX_OVER_GET(value)   (((value) & 0x00000002) >> 1)
 
#define ALT_I2C_INTR_MSK_M_RX_OVER_SET(value)   (((value) << 1) & 0x00000002)
 

Field : m_rx_full

This bit masks the R_RX_FULL interrupt in IC_INTR_STAT register.

Reset value: 0x1

Field Access Macros:

#define ALT_I2C_INTR_MSK_M_RX_FULL_LSB   2
 
#define ALT_I2C_INTR_MSK_M_RX_FULL_MSB   2
 
#define ALT_I2C_INTR_MSK_M_RX_FULL_WIDTH   1
 
#define ALT_I2C_INTR_MSK_M_RX_FULL_SET_MSK   0x00000004
 
#define ALT_I2C_INTR_MSK_M_RX_FULL_CLR_MSK   0xfffffffb
 
#define ALT_I2C_INTR_MSK_M_RX_FULL_RESET   0x1
 
#define ALT_I2C_INTR_MSK_M_RX_FULL_GET(value)   (((value) & 0x00000004) >> 2)
 
#define ALT_I2C_INTR_MSK_M_RX_FULL_SET(value)   (((value) << 2) & 0x00000004)
 

Field : m_tx_over

This bit masks the R_TX_OVER interrupt in IC_INTR_STAT register.

Reset value: 0x1

Field Access Macros:

#define ALT_I2C_INTR_MSK_M_TX_OVER_LSB   3
 
#define ALT_I2C_INTR_MSK_M_TX_OVER_MSB   3
 
#define ALT_I2C_INTR_MSK_M_TX_OVER_WIDTH   1
 
#define ALT_I2C_INTR_MSK_M_TX_OVER_SET_MSK   0x00000008
 
#define ALT_I2C_INTR_MSK_M_TX_OVER_CLR_MSK   0xfffffff7
 
#define ALT_I2C_INTR_MSK_M_TX_OVER_RESET   0x1
 
#define ALT_I2C_INTR_MSK_M_TX_OVER_GET(value)   (((value) & 0x00000008) >> 3)
 
#define ALT_I2C_INTR_MSK_M_TX_OVER_SET(value)   (((value) << 3) & 0x00000008)
 

Field : m_tx_empty

This bit masks the R_TX_EMPTY interrupt in IC_INTR_STAT register.

Reset value: 0x1

Field Access Macros:

#define ALT_I2C_INTR_MSK_M_TX_EMPTY_LSB   4
 
#define ALT_I2C_INTR_MSK_M_TX_EMPTY_MSB   4
 
#define ALT_I2C_INTR_MSK_M_TX_EMPTY_WIDTH   1
 
#define ALT_I2C_INTR_MSK_M_TX_EMPTY_SET_MSK   0x00000010
 
#define ALT_I2C_INTR_MSK_M_TX_EMPTY_CLR_MSK   0xffffffef
 
#define ALT_I2C_INTR_MSK_M_TX_EMPTY_RESET   0x1
 
#define ALT_I2C_INTR_MSK_M_TX_EMPTY_GET(value)   (((value) & 0x00000010) >> 4)
 
#define ALT_I2C_INTR_MSK_M_TX_EMPTY_SET(value)   (((value) << 4) & 0x00000010)
 

Field : m_rd_req

This bit masks the R_RD_REQ interrupt in IC_INTR_STAT register.

Reset value: 0x1

Field Access Macros:

#define ALT_I2C_INTR_MSK_M_RD_REQ_LSB   5
 
#define ALT_I2C_INTR_MSK_M_RD_REQ_MSB   5
 
#define ALT_I2C_INTR_MSK_M_RD_REQ_WIDTH   1
 
#define ALT_I2C_INTR_MSK_M_RD_REQ_SET_MSK   0x00000020
 
#define ALT_I2C_INTR_MSK_M_RD_REQ_CLR_MSK   0xffffffdf
 
#define ALT_I2C_INTR_MSK_M_RD_REQ_RESET   0x1
 
#define ALT_I2C_INTR_MSK_M_RD_REQ_GET(value)   (((value) & 0x00000020) >> 5)
 
#define ALT_I2C_INTR_MSK_M_RD_REQ_SET(value)   (((value) << 5) & 0x00000020)
 

Field : m_tx_abrt

This bit masks the R_TX_ABRT interrupt in IC_INTR_STAT register.

Reset value: 0x1

Field Access Macros:

#define ALT_I2C_INTR_MSK_M_TX_ABRT_LSB   6
 
#define ALT_I2C_INTR_MSK_M_TX_ABRT_MSB   6
 
#define ALT_I2C_INTR_MSK_M_TX_ABRT_WIDTH   1
 
#define ALT_I2C_INTR_MSK_M_TX_ABRT_SET_MSK   0x00000040
 
#define ALT_I2C_INTR_MSK_M_TX_ABRT_CLR_MSK   0xffffffbf
 
#define ALT_I2C_INTR_MSK_M_TX_ABRT_RESET   0x1
 
#define ALT_I2C_INTR_MSK_M_TX_ABRT_GET(value)   (((value) & 0x00000040) >> 6)
 
#define ALT_I2C_INTR_MSK_M_TX_ABRT_SET(value)   (((value) << 6) & 0x00000040)
 

Field : m_rx_done

This bit masks the R_RX_DONE interrupt in IC_INTR_STAT register.

Reset value: 0x1

Field Access Macros:

#define ALT_I2C_INTR_MSK_M_RX_DONE_LSB   7
 
#define ALT_I2C_INTR_MSK_M_RX_DONE_MSB   7
 
#define ALT_I2C_INTR_MSK_M_RX_DONE_WIDTH   1
 
#define ALT_I2C_INTR_MSK_M_RX_DONE_SET_MSK   0x00000080
 
#define ALT_I2C_INTR_MSK_M_RX_DONE_CLR_MSK   0xffffff7f
 
#define ALT_I2C_INTR_MSK_M_RX_DONE_RESET   0x1
 
#define ALT_I2C_INTR_MSK_M_RX_DONE_GET(value)   (((value) & 0x00000080) >> 7)
 
#define ALT_I2C_INTR_MSK_M_RX_DONE_SET(value)   (((value) << 7) & 0x00000080)
 

Field : m_activity

This bit masks the R_ACTIVITY interrupt in IC_INTR_STAT register.

Reset value: 0x0

Field Access Macros:

#define ALT_I2C_INTR_MSK_M_ACTIVITY_LSB   8
 
#define ALT_I2C_INTR_MSK_M_ACTIVITY_MSB   8
 
#define ALT_I2C_INTR_MSK_M_ACTIVITY_WIDTH   1
 
#define ALT_I2C_INTR_MSK_M_ACTIVITY_SET_MSK   0x00000100
 
#define ALT_I2C_INTR_MSK_M_ACTIVITY_CLR_MSK   0xfffffeff
 
#define ALT_I2C_INTR_MSK_M_ACTIVITY_RESET   0x0
 
#define ALT_I2C_INTR_MSK_M_ACTIVITY_GET(value)   (((value) & 0x00000100) >> 8)
 
#define ALT_I2C_INTR_MSK_M_ACTIVITY_SET(value)   (((value) << 8) & 0x00000100)
 

Field : m_stop_det

This bit masks the R_STOP_DET interrupt in IC_INTR_STAT register.

Reset value: 0x0

Field Access Macros:

#define ALT_I2C_INTR_MSK_M_STOP_DET_LSB   9
 
#define ALT_I2C_INTR_MSK_M_STOP_DET_MSB   9
 
#define ALT_I2C_INTR_MSK_M_STOP_DET_WIDTH   1
 
#define ALT_I2C_INTR_MSK_M_STOP_DET_SET_MSK   0x00000200
 
#define ALT_I2C_INTR_MSK_M_STOP_DET_CLR_MSK   0xfffffdff
 
#define ALT_I2C_INTR_MSK_M_STOP_DET_RESET   0x0
 
#define ALT_I2C_INTR_MSK_M_STOP_DET_GET(value)   (((value) & 0x00000200) >> 9)
 
#define ALT_I2C_INTR_MSK_M_STOP_DET_SET(value)   (((value) << 9) & 0x00000200)
 

Field : m_start_det

This bit masks the R_START_DET interrupt in IC_INTR_STAT register.

Reset value: 0x0

Field Access Macros:

#define ALT_I2C_INTR_MSK_M_START_DET_LSB   10
 
#define ALT_I2C_INTR_MSK_M_START_DET_MSB   10
 
#define ALT_I2C_INTR_MSK_M_START_DET_WIDTH   1
 
#define ALT_I2C_INTR_MSK_M_START_DET_SET_MSK   0x00000400
 
#define ALT_I2C_INTR_MSK_M_START_DET_CLR_MSK   0xfffffbff
 
#define ALT_I2C_INTR_MSK_M_START_DET_RESET   0x0
 
#define ALT_I2C_INTR_MSK_M_START_DET_GET(value)   (((value) & 0x00000400) >> 10)
 
#define ALT_I2C_INTR_MSK_M_START_DET_SET(value)   (((value) << 10) & 0x00000400)
 

Field : m_gen_call

This bit masks the R_GEN_CALL interrupt in IC_INTR_STAT register.

Reset value: 0x1

Field Access Macros:

#define ALT_I2C_INTR_MSK_M_GEN_CALL_LSB   11
 
#define ALT_I2C_INTR_MSK_M_GEN_CALL_MSB   11
 
#define ALT_I2C_INTR_MSK_M_GEN_CALL_WIDTH   1
 
#define ALT_I2C_INTR_MSK_M_GEN_CALL_SET_MSK   0x00000800
 
#define ALT_I2C_INTR_MSK_M_GEN_CALL_CLR_MSK   0xfffff7ff
 
#define ALT_I2C_INTR_MSK_M_GEN_CALL_RESET   0x1
 
#define ALT_I2C_INTR_MSK_M_GEN_CALL_GET(value)   (((value) & 0x00000800) >> 11)
 
#define ALT_I2C_INTR_MSK_M_GEN_CALL_SET(value)   (((value) << 11) & 0x00000800)
 

Field : m_restart_det

This bit masks the R_RESTART_DET interrupt in IC_INTR_STAT register.

Reset value: 0x0

Field Access Macros:

#define ALT_I2C_INTR_MSK_M_RESTART_DET_LSB   12
 
#define ALT_I2C_INTR_MSK_M_RESTART_DET_MSB   12
 
#define ALT_I2C_INTR_MSK_M_RESTART_DET_WIDTH   1
 
#define ALT_I2C_INTR_MSK_M_RESTART_DET_SET_MSK   0x00001000
 
#define ALT_I2C_INTR_MSK_M_RESTART_DET_CLR_MSK   0xffffefff
 
#define ALT_I2C_INTR_MSK_M_RESTART_DET_RESET   0x0
 
#define ALT_I2C_INTR_MSK_M_RESTART_DET_GET(value)   (((value) & 0x00001000) >> 12)
 
#define ALT_I2C_INTR_MSK_M_RESTART_DET_SET(value)   (((value) << 12) & 0x00001000)
 

Field : m_master_on_hold

This bit masks the R_MASTER_ON_HOLD interrupt in IC_INTR_STAT register.

Reset value: 0x0

Field Access Macros:

#define ALT_I2C_INTR_MSK_M_MST_ON_HOLD_LSB   13
 
#define ALT_I2C_INTR_MSK_M_MST_ON_HOLD_MSB   13
 
#define ALT_I2C_INTR_MSK_M_MST_ON_HOLD_WIDTH   1
 
#define ALT_I2C_INTR_MSK_M_MST_ON_HOLD_SET_MSK   0x00002000
 
#define ALT_I2C_INTR_MSK_M_MST_ON_HOLD_CLR_MSK   0xffffdfff
 
#define ALT_I2C_INTR_MSK_M_MST_ON_HOLD_RESET   0x0
 
#define ALT_I2C_INTR_MSK_M_MST_ON_HOLD_GET(value)   (((value) & 0x00002000) >> 13)
 
#define ALT_I2C_INTR_MSK_M_MST_ON_HOLD_SET(value)   (((value) << 13) & 0x00002000)
 

Data Structures

struct  ALT_I2C_INTR_MSK_s
 

Macros

#define ALT_I2C_INTR_MSK_RESET   0x000008ff
 
#define ALT_I2C_INTR_MSK_OFST   0x30
 
#define ALT_I2C_INTR_MSK_ADDR(base)   ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_I2C_INTR_MSK_OFST))
 

Typedefs

typedef struct ALT_I2C_INTR_MSK_s ALT_I2C_INTR_MSK_t
 

Data Structure Documentation

struct ALT_I2C_INTR_MSK_s

WARNING: The C register and register group struct declarations are provided for convenience and illustrative purposes. They should, however, be used with caution as the C language standard provides no guarantees about the alignment or atomicity of device memory accesses. The recommended practice for writing hardware drivers is to use the SoCAL access macros and alt_read_word() and alt_write_word() functions.

The struct declaration for register ALT_I2C_INTR_MSK.

Data Fields
uint32_t m_rx_under: 1 ALT_I2C_INTR_MSK_M_RX_UNDER
uint32_t m_rx_over: 1 ALT_I2C_INTR_MSK_M_RX_OVER
uint32_t m_rx_full: 1 ALT_I2C_INTR_MSK_M_RX_FULL
uint32_t m_tx_over: 1 ALT_I2C_INTR_MSK_M_TX_OVER
uint32_t m_tx_empty: 1 ALT_I2C_INTR_MSK_M_TX_EMPTY
uint32_t m_rd_req: 1 ALT_I2C_INTR_MSK_M_RD_REQ
uint32_t m_tx_abrt: 1 ALT_I2C_INTR_MSK_M_TX_ABRT
uint32_t m_rx_done: 1 ALT_I2C_INTR_MSK_M_RX_DONE
uint32_t m_activity: 1 ALT_I2C_INTR_MSK_M_ACTIVITY
uint32_t m_stop_det: 1 ALT_I2C_INTR_MSK_M_STOP_DET
uint32_t m_start_det: 1 ALT_I2C_INTR_MSK_M_START_DET
uint32_t m_gen_call: 1 ALT_I2C_INTR_MSK_M_GEN_CALL
uint32_t m_restart_det: 1 ALT_I2C_INTR_MSK_M_RESTART_DET
uint32_t m_master_on_hold: 1 ALT_I2C_INTR_MSK_M_MST_ON_HOLD
uint32_t __pad0__: 18 UNDEFINED

Macro Definitions

#define ALT_I2C_INTR_MSK_M_RX_UNDER_LSB   0

The Least Significant Bit (LSB) position of the ALT_I2C_INTR_MSK_M_RX_UNDER register field.

#define ALT_I2C_INTR_MSK_M_RX_UNDER_MSB   0

The Most Significant Bit (MSB) position of the ALT_I2C_INTR_MSK_M_RX_UNDER register field.

#define ALT_I2C_INTR_MSK_M_RX_UNDER_WIDTH   1

The width in bits of the ALT_I2C_INTR_MSK_M_RX_UNDER register field.

#define ALT_I2C_INTR_MSK_M_RX_UNDER_SET_MSK   0x00000001

The mask used to set the ALT_I2C_INTR_MSK_M_RX_UNDER register field value.

#define ALT_I2C_INTR_MSK_M_RX_UNDER_CLR_MSK   0xfffffffe

The mask used to clear the ALT_I2C_INTR_MSK_M_RX_UNDER register field value.

#define ALT_I2C_INTR_MSK_M_RX_UNDER_RESET   0x1

The reset value of the ALT_I2C_INTR_MSK_M_RX_UNDER register field.

#define ALT_I2C_INTR_MSK_M_RX_UNDER_GET (   value)    (((value) & 0x00000001) >> 0)

Extracts the ALT_I2C_INTR_MSK_M_RX_UNDER field value from a register.

#define ALT_I2C_INTR_MSK_M_RX_UNDER_SET (   value)    (((value) << 0) & 0x00000001)

Produces a ALT_I2C_INTR_MSK_M_RX_UNDER register field value suitable for setting the register.

#define ALT_I2C_INTR_MSK_M_RX_OVER_LSB   1

The Least Significant Bit (LSB) position of the ALT_I2C_INTR_MSK_M_RX_OVER register field.

#define ALT_I2C_INTR_MSK_M_RX_OVER_MSB   1

The Most Significant Bit (MSB) position of the ALT_I2C_INTR_MSK_M_RX_OVER register field.

#define ALT_I2C_INTR_MSK_M_RX_OVER_WIDTH   1

The width in bits of the ALT_I2C_INTR_MSK_M_RX_OVER register field.

#define ALT_I2C_INTR_MSK_M_RX_OVER_SET_MSK   0x00000002

The mask used to set the ALT_I2C_INTR_MSK_M_RX_OVER register field value.

#define ALT_I2C_INTR_MSK_M_RX_OVER_CLR_MSK   0xfffffffd

The mask used to clear the ALT_I2C_INTR_MSK_M_RX_OVER register field value.

#define ALT_I2C_INTR_MSK_M_RX_OVER_RESET   0x1

The reset value of the ALT_I2C_INTR_MSK_M_RX_OVER register field.

#define ALT_I2C_INTR_MSK_M_RX_OVER_GET (   value)    (((value) & 0x00000002) >> 1)

Extracts the ALT_I2C_INTR_MSK_M_RX_OVER field value from a register.

#define ALT_I2C_INTR_MSK_M_RX_OVER_SET (   value)    (((value) << 1) & 0x00000002)

Produces a ALT_I2C_INTR_MSK_M_RX_OVER register field value suitable for setting the register.

#define ALT_I2C_INTR_MSK_M_RX_FULL_LSB   2

The Least Significant Bit (LSB) position of the ALT_I2C_INTR_MSK_M_RX_FULL register field.

#define ALT_I2C_INTR_MSK_M_RX_FULL_MSB   2

The Most Significant Bit (MSB) position of the ALT_I2C_INTR_MSK_M_RX_FULL register field.

#define ALT_I2C_INTR_MSK_M_RX_FULL_WIDTH   1

The width in bits of the ALT_I2C_INTR_MSK_M_RX_FULL register field.

#define ALT_I2C_INTR_MSK_M_RX_FULL_SET_MSK   0x00000004

The mask used to set the ALT_I2C_INTR_MSK_M_RX_FULL register field value.

#define ALT_I2C_INTR_MSK_M_RX_FULL_CLR_MSK   0xfffffffb

The mask used to clear the ALT_I2C_INTR_MSK_M_RX_FULL register field value.

#define ALT_I2C_INTR_MSK_M_RX_FULL_RESET   0x1

The reset value of the ALT_I2C_INTR_MSK_M_RX_FULL register field.

#define ALT_I2C_INTR_MSK_M_RX_FULL_GET (   value)    (((value) & 0x00000004) >> 2)

Extracts the ALT_I2C_INTR_MSK_M_RX_FULL field value from a register.

#define ALT_I2C_INTR_MSK_M_RX_FULL_SET (   value)    (((value) << 2) & 0x00000004)

Produces a ALT_I2C_INTR_MSK_M_RX_FULL register field value suitable for setting the register.

#define ALT_I2C_INTR_MSK_M_TX_OVER_LSB   3

The Least Significant Bit (LSB) position of the ALT_I2C_INTR_MSK_M_TX_OVER register field.

#define ALT_I2C_INTR_MSK_M_TX_OVER_MSB   3

The Most Significant Bit (MSB) position of the ALT_I2C_INTR_MSK_M_TX_OVER register field.

#define ALT_I2C_INTR_MSK_M_TX_OVER_WIDTH   1

The width in bits of the ALT_I2C_INTR_MSK_M_TX_OVER register field.

#define ALT_I2C_INTR_MSK_M_TX_OVER_SET_MSK   0x00000008

The mask used to set the ALT_I2C_INTR_MSK_M_TX_OVER register field value.

#define ALT_I2C_INTR_MSK_M_TX_OVER_CLR_MSK   0xfffffff7

The mask used to clear the ALT_I2C_INTR_MSK_M_TX_OVER register field value.

#define ALT_I2C_INTR_MSK_M_TX_OVER_RESET   0x1

The reset value of the ALT_I2C_INTR_MSK_M_TX_OVER register field.

#define ALT_I2C_INTR_MSK_M_TX_OVER_GET (   value)    (((value) & 0x00000008) >> 3)

Extracts the ALT_I2C_INTR_MSK_M_TX_OVER field value from a register.

#define ALT_I2C_INTR_MSK_M_TX_OVER_SET (   value)    (((value) << 3) & 0x00000008)

Produces a ALT_I2C_INTR_MSK_M_TX_OVER register field value suitable for setting the register.

#define ALT_I2C_INTR_MSK_M_TX_EMPTY_LSB   4

The Least Significant Bit (LSB) position of the ALT_I2C_INTR_MSK_M_TX_EMPTY register field.

#define ALT_I2C_INTR_MSK_M_TX_EMPTY_MSB   4

The Most Significant Bit (MSB) position of the ALT_I2C_INTR_MSK_M_TX_EMPTY register field.

#define ALT_I2C_INTR_MSK_M_TX_EMPTY_WIDTH   1

The width in bits of the ALT_I2C_INTR_MSK_M_TX_EMPTY register field.

#define ALT_I2C_INTR_MSK_M_TX_EMPTY_SET_MSK   0x00000010

The mask used to set the ALT_I2C_INTR_MSK_M_TX_EMPTY register field value.

#define ALT_I2C_INTR_MSK_M_TX_EMPTY_CLR_MSK   0xffffffef

The mask used to clear the ALT_I2C_INTR_MSK_M_TX_EMPTY register field value.

#define ALT_I2C_INTR_MSK_M_TX_EMPTY_RESET   0x1

The reset value of the ALT_I2C_INTR_MSK_M_TX_EMPTY register field.

#define ALT_I2C_INTR_MSK_M_TX_EMPTY_GET (   value)    (((value) & 0x00000010) >> 4)

Extracts the ALT_I2C_INTR_MSK_M_TX_EMPTY field value from a register.

#define ALT_I2C_INTR_MSK_M_TX_EMPTY_SET (   value)    (((value) << 4) & 0x00000010)

Produces a ALT_I2C_INTR_MSK_M_TX_EMPTY register field value suitable for setting the register.

#define ALT_I2C_INTR_MSK_M_RD_REQ_LSB   5

The Least Significant Bit (LSB) position of the ALT_I2C_INTR_MSK_M_RD_REQ register field.

#define ALT_I2C_INTR_MSK_M_RD_REQ_MSB   5

The Most Significant Bit (MSB) position of the ALT_I2C_INTR_MSK_M_RD_REQ register field.

#define ALT_I2C_INTR_MSK_M_RD_REQ_WIDTH   1

The width in bits of the ALT_I2C_INTR_MSK_M_RD_REQ register field.

#define ALT_I2C_INTR_MSK_M_RD_REQ_SET_MSK   0x00000020

The mask used to set the ALT_I2C_INTR_MSK_M_RD_REQ register field value.

#define ALT_I2C_INTR_MSK_M_RD_REQ_CLR_MSK   0xffffffdf

The mask used to clear the ALT_I2C_INTR_MSK_M_RD_REQ register field value.

#define ALT_I2C_INTR_MSK_M_RD_REQ_RESET   0x1

The reset value of the ALT_I2C_INTR_MSK_M_RD_REQ register field.

#define ALT_I2C_INTR_MSK_M_RD_REQ_GET (   value)    (((value) & 0x00000020) >> 5)

Extracts the ALT_I2C_INTR_MSK_M_RD_REQ field value from a register.

#define ALT_I2C_INTR_MSK_M_RD_REQ_SET (   value)    (((value) << 5) & 0x00000020)

Produces a ALT_I2C_INTR_MSK_M_RD_REQ register field value suitable for setting the register.

#define ALT_I2C_INTR_MSK_M_TX_ABRT_LSB   6

The Least Significant Bit (LSB) position of the ALT_I2C_INTR_MSK_M_TX_ABRT register field.

#define ALT_I2C_INTR_MSK_M_TX_ABRT_MSB   6

The Most Significant Bit (MSB) position of the ALT_I2C_INTR_MSK_M_TX_ABRT register field.

#define ALT_I2C_INTR_MSK_M_TX_ABRT_WIDTH   1

The width in bits of the ALT_I2C_INTR_MSK_M_TX_ABRT register field.

#define ALT_I2C_INTR_MSK_M_TX_ABRT_SET_MSK   0x00000040

The mask used to set the ALT_I2C_INTR_MSK_M_TX_ABRT register field value.

#define ALT_I2C_INTR_MSK_M_TX_ABRT_CLR_MSK   0xffffffbf

The mask used to clear the ALT_I2C_INTR_MSK_M_TX_ABRT register field value.

#define ALT_I2C_INTR_MSK_M_TX_ABRT_RESET   0x1

The reset value of the ALT_I2C_INTR_MSK_M_TX_ABRT register field.

#define ALT_I2C_INTR_MSK_M_TX_ABRT_GET (   value)    (((value) & 0x00000040) >> 6)

Extracts the ALT_I2C_INTR_MSK_M_TX_ABRT field value from a register.

#define ALT_I2C_INTR_MSK_M_TX_ABRT_SET (   value)    (((value) << 6) & 0x00000040)

Produces a ALT_I2C_INTR_MSK_M_TX_ABRT register field value suitable for setting the register.

#define ALT_I2C_INTR_MSK_M_RX_DONE_LSB   7

The Least Significant Bit (LSB) position of the ALT_I2C_INTR_MSK_M_RX_DONE register field.

#define ALT_I2C_INTR_MSK_M_RX_DONE_MSB   7

The Most Significant Bit (MSB) position of the ALT_I2C_INTR_MSK_M_RX_DONE register field.

#define ALT_I2C_INTR_MSK_M_RX_DONE_WIDTH   1

The width in bits of the ALT_I2C_INTR_MSK_M_RX_DONE register field.

#define ALT_I2C_INTR_MSK_M_RX_DONE_SET_MSK   0x00000080

The mask used to set the ALT_I2C_INTR_MSK_M_RX_DONE register field value.

#define ALT_I2C_INTR_MSK_M_RX_DONE_CLR_MSK   0xffffff7f

The mask used to clear the ALT_I2C_INTR_MSK_M_RX_DONE register field value.

#define ALT_I2C_INTR_MSK_M_RX_DONE_RESET   0x1

The reset value of the ALT_I2C_INTR_MSK_M_RX_DONE register field.

#define ALT_I2C_INTR_MSK_M_RX_DONE_GET (   value)    (((value) & 0x00000080) >> 7)

Extracts the ALT_I2C_INTR_MSK_M_RX_DONE field value from a register.

#define ALT_I2C_INTR_MSK_M_RX_DONE_SET (   value)    (((value) << 7) & 0x00000080)

Produces a ALT_I2C_INTR_MSK_M_RX_DONE register field value suitable for setting the register.

#define ALT_I2C_INTR_MSK_M_ACTIVITY_LSB   8

The Least Significant Bit (LSB) position of the ALT_I2C_INTR_MSK_M_ACTIVITY register field.

#define ALT_I2C_INTR_MSK_M_ACTIVITY_MSB   8

The Most Significant Bit (MSB) position of the ALT_I2C_INTR_MSK_M_ACTIVITY register field.

#define ALT_I2C_INTR_MSK_M_ACTIVITY_WIDTH   1

The width in bits of the ALT_I2C_INTR_MSK_M_ACTIVITY register field.

#define ALT_I2C_INTR_MSK_M_ACTIVITY_SET_MSK   0x00000100

The mask used to set the ALT_I2C_INTR_MSK_M_ACTIVITY register field value.

#define ALT_I2C_INTR_MSK_M_ACTIVITY_CLR_MSK   0xfffffeff

The mask used to clear the ALT_I2C_INTR_MSK_M_ACTIVITY register field value.

#define ALT_I2C_INTR_MSK_M_ACTIVITY_RESET   0x0

The reset value of the ALT_I2C_INTR_MSK_M_ACTIVITY register field.

#define ALT_I2C_INTR_MSK_M_ACTIVITY_GET (   value)    (((value) & 0x00000100) >> 8)

Extracts the ALT_I2C_INTR_MSK_M_ACTIVITY field value from a register.

#define ALT_I2C_INTR_MSK_M_ACTIVITY_SET (   value)    (((value) << 8) & 0x00000100)

Produces a ALT_I2C_INTR_MSK_M_ACTIVITY register field value suitable for setting the register.

#define ALT_I2C_INTR_MSK_M_STOP_DET_LSB   9

The Least Significant Bit (LSB) position of the ALT_I2C_INTR_MSK_M_STOP_DET register field.

#define ALT_I2C_INTR_MSK_M_STOP_DET_MSB   9

The Most Significant Bit (MSB) position of the ALT_I2C_INTR_MSK_M_STOP_DET register field.

#define ALT_I2C_INTR_MSK_M_STOP_DET_WIDTH   1

The width in bits of the ALT_I2C_INTR_MSK_M_STOP_DET register field.

#define ALT_I2C_INTR_MSK_M_STOP_DET_SET_MSK   0x00000200

The mask used to set the ALT_I2C_INTR_MSK_M_STOP_DET register field value.

#define ALT_I2C_INTR_MSK_M_STOP_DET_CLR_MSK   0xfffffdff

The mask used to clear the ALT_I2C_INTR_MSK_M_STOP_DET register field value.

#define ALT_I2C_INTR_MSK_M_STOP_DET_RESET   0x0

The reset value of the ALT_I2C_INTR_MSK_M_STOP_DET register field.

#define ALT_I2C_INTR_MSK_M_STOP_DET_GET (   value)    (((value) & 0x00000200) >> 9)

Extracts the ALT_I2C_INTR_MSK_M_STOP_DET field value from a register.

#define ALT_I2C_INTR_MSK_M_STOP_DET_SET (   value)    (((value) << 9) & 0x00000200)

Produces a ALT_I2C_INTR_MSK_M_STOP_DET register field value suitable for setting the register.

#define ALT_I2C_INTR_MSK_M_START_DET_LSB   10

The Least Significant Bit (LSB) position of the ALT_I2C_INTR_MSK_M_START_DET register field.

#define ALT_I2C_INTR_MSK_M_START_DET_MSB   10

The Most Significant Bit (MSB) position of the ALT_I2C_INTR_MSK_M_START_DET register field.

#define ALT_I2C_INTR_MSK_M_START_DET_WIDTH   1

The width in bits of the ALT_I2C_INTR_MSK_M_START_DET register field.

#define ALT_I2C_INTR_MSK_M_START_DET_SET_MSK   0x00000400

The mask used to set the ALT_I2C_INTR_MSK_M_START_DET register field value.

#define ALT_I2C_INTR_MSK_M_START_DET_CLR_MSK   0xfffffbff

The mask used to clear the ALT_I2C_INTR_MSK_M_START_DET register field value.

#define ALT_I2C_INTR_MSK_M_START_DET_RESET   0x0

The reset value of the ALT_I2C_INTR_MSK_M_START_DET register field.

#define ALT_I2C_INTR_MSK_M_START_DET_GET (   value)    (((value) & 0x00000400) >> 10)

Extracts the ALT_I2C_INTR_MSK_M_START_DET field value from a register.

#define ALT_I2C_INTR_MSK_M_START_DET_SET (   value)    (((value) << 10) & 0x00000400)

Produces a ALT_I2C_INTR_MSK_M_START_DET register field value suitable for setting the register.

#define ALT_I2C_INTR_MSK_M_GEN_CALL_LSB   11

The Least Significant Bit (LSB) position of the ALT_I2C_INTR_MSK_M_GEN_CALL register field.

#define ALT_I2C_INTR_MSK_M_GEN_CALL_MSB   11

The Most Significant Bit (MSB) position of the ALT_I2C_INTR_MSK_M_GEN_CALL register field.

#define ALT_I2C_INTR_MSK_M_GEN_CALL_WIDTH   1

The width in bits of the ALT_I2C_INTR_MSK_M_GEN_CALL register field.

#define ALT_I2C_INTR_MSK_M_GEN_CALL_SET_MSK   0x00000800

The mask used to set the ALT_I2C_INTR_MSK_M_GEN_CALL register field value.

#define ALT_I2C_INTR_MSK_M_GEN_CALL_CLR_MSK   0xfffff7ff

The mask used to clear the ALT_I2C_INTR_MSK_M_GEN_CALL register field value.

#define ALT_I2C_INTR_MSK_M_GEN_CALL_RESET   0x1

The reset value of the ALT_I2C_INTR_MSK_M_GEN_CALL register field.

#define ALT_I2C_INTR_MSK_M_GEN_CALL_GET (   value)    (((value) & 0x00000800) >> 11)

Extracts the ALT_I2C_INTR_MSK_M_GEN_CALL field value from a register.

#define ALT_I2C_INTR_MSK_M_GEN_CALL_SET (   value)    (((value) << 11) & 0x00000800)

Produces a ALT_I2C_INTR_MSK_M_GEN_CALL register field value suitable for setting the register.

#define ALT_I2C_INTR_MSK_M_RESTART_DET_LSB   12

The Least Significant Bit (LSB) position of the ALT_I2C_INTR_MSK_M_RESTART_DET register field.

#define ALT_I2C_INTR_MSK_M_RESTART_DET_MSB   12

The Most Significant Bit (MSB) position of the ALT_I2C_INTR_MSK_M_RESTART_DET register field.

#define ALT_I2C_INTR_MSK_M_RESTART_DET_WIDTH   1

The width in bits of the ALT_I2C_INTR_MSK_M_RESTART_DET register field.

#define ALT_I2C_INTR_MSK_M_RESTART_DET_SET_MSK   0x00001000

The mask used to set the ALT_I2C_INTR_MSK_M_RESTART_DET register field value.

#define ALT_I2C_INTR_MSK_M_RESTART_DET_CLR_MSK   0xffffefff

The mask used to clear the ALT_I2C_INTR_MSK_M_RESTART_DET register field value.

#define ALT_I2C_INTR_MSK_M_RESTART_DET_RESET   0x0

The reset value of the ALT_I2C_INTR_MSK_M_RESTART_DET register field.

#define ALT_I2C_INTR_MSK_M_RESTART_DET_GET (   value)    (((value) & 0x00001000) >> 12)

Extracts the ALT_I2C_INTR_MSK_M_RESTART_DET field value from a register.

#define ALT_I2C_INTR_MSK_M_RESTART_DET_SET (   value)    (((value) << 12) & 0x00001000)

Produces a ALT_I2C_INTR_MSK_M_RESTART_DET register field value suitable for setting the register.

#define ALT_I2C_INTR_MSK_M_MST_ON_HOLD_LSB   13

The Least Significant Bit (LSB) position of the ALT_I2C_INTR_MSK_M_MST_ON_HOLD register field.

#define ALT_I2C_INTR_MSK_M_MST_ON_HOLD_MSB   13

The Most Significant Bit (MSB) position of the ALT_I2C_INTR_MSK_M_MST_ON_HOLD register field.

#define ALT_I2C_INTR_MSK_M_MST_ON_HOLD_WIDTH   1

The width in bits of the ALT_I2C_INTR_MSK_M_MST_ON_HOLD register field.

#define ALT_I2C_INTR_MSK_M_MST_ON_HOLD_SET_MSK   0x00002000

The mask used to set the ALT_I2C_INTR_MSK_M_MST_ON_HOLD register field value.

#define ALT_I2C_INTR_MSK_M_MST_ON_HOLD_CLR_MSK   0xffffdfff

The mask used to clear the ALT_I2C_INTR_MSK_M_MST_ON_HOLD register field value.

#define ALT_I2C_INTR_MSK_M_MST_ON_HOLD_RESET   0x0

The reset value of the ALT_I2C_INTR_MSK_M_MST_ON_HOLD register field.

#define ALT_I2C_INTR_MSK_M_MST_ON_HOLD_GET (   value)    (((value) & 0x00002000) >> 13)

Extracts the ALT_I2C_INTR_MSK_M_MST_ON_HOLD field value from a register.

#define ALT_I2C_INTR_MSK_M_MST_ON_HOLD_SET (   value)    (((value) << 13) & 0x00002000)

Produces a ALT_I2C_INTR_MSK_M_MST_ON_HOLD register field value suitable for setting the register.

#define ALT_I2C_INTR_MSK_RESET   0x000008ff

The reset value of the ALT_I2C_INTR_MSK register.

#define ALT_I2C_INTR_MSK_OFST   0x30

The byte offset of the ALT_I2C_INTR_MSK register from the beginning of the component.

#define ALT_I2C_INTR_MSK_ADDR (   base)    ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_I2C_INTR_MSK_OFST))

The address of the ALT_I2C_INTR_MSK register.

Typedef Documentation

The typedef declaration for register ALT_I2C_INTR_MSK.