MAX32665 Peripheral Driver API
Peripheral Driver API for the MAX32665
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
I2C_CTRL

Macros

#define MXC_F_I2C_CTRL_I2C_EN_POS   0
 
#define MXC_F_I2C_CTRL_I2C_EN   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_I2C_EN_POS))
 
#define MXC_F_I2C_CTRL_MST_POS   1
 
#define MXC_F_I2C_CTRL_MST   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_MST_POS))
 
#define MXC_F_I2C_CTRL_GEN_CALL_ADDR_POS   2
 
#define MXC_F_I2C_CTRL_GEN_CALL_ADDR   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_GEN_CALL_ADDR_POS))
 
#define MXC_F_I2C_CTRL_RX_MODE_POS   3
 
#define MXC_F_I2C_CTRL_RX_MODE   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_RX_MODE_POS))
 
#define MXC_F_I2C_CTRL_RX_MODE_ACK_POS   4
 
#define MXC_F_I2C_CTRL_RX_MODE_ACK   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_RX_MODE_ACK_POS))
 
#define MXC_F_I2C_CTRL_SCL_OUT_POS   6
 
#define MXC_F_I2C_CTRL_SCL_OUT   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_SCL_OUT_POS))
 
#define MXC_F_I2C_CTRL_SDA_OUT_POS   7
 
#define MXC_F_I2C_CTRL_SDA_OUT   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_SDA_OUT_POS))
 
#define MXC_F_I2C_CTRL_SCL_POS   8
 
#define MXC_F_I2C_CTRL_SCL   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_SCL_POS))
 
#define MXC_F_I2C_CTRL_SDA_POS   9
 
#define MXC_F_I2C_CTRL_SDA   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_SDA_POS))
 
#define MXC_F_I2C_CTRL_SW_OUT_EN_POS   10
 
#define MXC_F_I2C_CTRL_SW_OUT_EN   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_SW_OUT_EN_POS))
 
#define MXC_F_I2C_CTRL_READ_POS   11
 
#define MXC_F_I2C_CTRL_READ   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_READ_POS))
 
#define MXC_F_I2C_CTRL_SCL_CLK_STRETCH_DIS_POS   12
 
#define MXC_F_I2C_CTRL_SCL_CLK_STRETCH_DIS   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_SCL_CLK_STRETCH_DIS_POS))
 
#define MXC_F_I2C_CTRL_SCL_PP_MODE_POS   13
 
#define MXC_F_I2C_CTRL_SCL_PP_MODE   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_SCL_PP_MODE_POS))
 
#define MXC_F_I2C_CTRL_HS_MODE_POS   15
 
#define MXC_F_I2C_CTRL_HS_MODE   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_HS_MODE_POS))
 

Detailed Description

Control Register.

Macro Definition Documentation

◆ MXC_F_I2C_CTRL_GEN_CALL_ADDR

#define MXC_F_I2C_CTRL_GEN_CALL_ADDR   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_GEN_CALL_ADDR_POS))

CTRL_GEN_CALL_ADDR Mask

◆ MXC_F_I2C_CTRL_GEN_CALL_ADDR_POS

#define MXC_F_I2C_CTRL_GEN_CALL_ADDR_POS   2

CTRL_GEN_CALL_ADDR Position

◆ MXC_F_I2C_CTRL_HS_MODE

#define MXC_F_I2C_CTRL_HS_MODE   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_HS_MODE_POS))

CTRL_HS_MODE Mask

◆ MXC_F_I2C_CTRL_HS_MODE_POS

#define MXC_F_I2C_CTRL_HS_MODE_POS   15

CTRL_HS_MODE Position

◆ MXC_F_I2C_CTRL_I2C_EN

#define MXC_F_I2C_CTRL_I2C_EN   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_I2C_EN_POS))

CTRL_I2C_EN Mask

◆ MXC_F_I2C_CTRL_I2C_EN_POS

#define MXC_F_I2C_CTRL_I2C_EN_POS   0

CTRL_I2C_EN Position

◆ MXC_F_I2C_CTRL_MST

#define MXC_F_I2C_CTRL_MST   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_MST_POS))

CTRL_MST Mask

◆ MXC_F_I2C_CTRL_MST_POS

#define MXC_F_I2C_CTRL_MST_POS   1

CTRL_MST Position

◆ MXC_F_I2C_CTRL_READ

#define MXC_F_I2C_CTRL_READ   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_READ_POS))

CTRL_READ Mask

◆ MXC_F_I2C_CTRL_READ_POS

#define MXC_F_I2C_CTRL_READ_POS   11

CTRL_READ Position

◆ MXC_F_I2C_CTRL_RX_MODE

#define MXC_F_I2C_CTRL_RX_MODE   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_RX_MODE_POS))

CTRL_RX_MODE Mask

◆ MXC_F_I2C_CTRL_RX_MODE_ACK

#define MXC_F_I2C_CTRL_RX_MODE_ACK   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_RX_MODE_ACK_POS))

CTRL_RX_MODE_ACK Mask

◆ MXC_F_I2C_CTRL_RX_MODE_ACK_POS

#define MXC_F_I2C_CTRL_RX_MODE_ACK_POS   4

CTRL_RX_MODE_ACK Position

◆ MXC_F_I2C_CTRL_RX_MODE_POS

#define MXC_F_I2C_CTRL_RX_MODE_POS   3

CTRL_RX_MODE Position

◆ MXC_F_I2C_CTRL_SCL

#define MXC_F_I2C_CTRL_SCL   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_SCL_POS))

CTRL_SCL Mask

◆ MXC_F_I2C_CTRL_SCL_CLK_STRETCH_DIS

#define MXC_F_I2C_CTRL_SCL_CLK_STRETCH_DIS   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_SCL_CLK_STRETCH_DIS_POS))

CTRL_SCL_CLK_STRETCH_DIS Mask

◆ MXC_F_I2C_CTRL_SCL_CLK_STRETCH_DIS_POS

#define MXC_F_I2C_CTRL_SCL_CLK_STRETCH_DIS_POS   12

CTRL_SCL_CLK_STRETCH_DIS Position

◆ MXC_F_I2C_CTRL_SCL_OUT

#define MXC_F_I2C_CTRL_SCL_OUT   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_SCL_OUT_POS))

CTRL_SCL_OUT Mask

◆ MXC_F_I2C_CTRL_SCL_OUT_POS

#define MXC_F_I2C_CTRL_SCL_OUT_POS   6

CTRL_SCL_OUT Position

◆ MXC_F_I2C_CTRL_SCL_POS

#define MXC_F_I2C_CTRL_SCL_POS   8

CTRL_SCL Position

◆ MXC_F_I2C_CTRL_SCL_PP_MODE

#define MXC_F_I2C_CTRL_SCL_PP_MODE   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_SCL_PP_MODE_POS))

CTRL_SCL_PP_MODE Mask

◆ MXC_F_I2C_CTRL_SCL_PP_MODE_POS

#define MXC_F_I2C_CTRL_SCL_PP_MODE_POS   13

CTRL_SCL_PP_MODE Position

◆ MXC_F_I2C_CTRL_SDA

#define MXC_F_I2C_CTRL_SDA   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_SDA_POS))

CTRL_SDA Mask

◆ MXC_F_I2C_CTRL_SDA_OUT

#define MXC_F_I2C_CTRL_SDA_OUT   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_SDA_OUT_POS))

CTRL_SDA_OUT Mask

◆ MXC_F_I2C_CTRL_SDA_OUT_POS

#define MXC_F_I2C_CTRL_SDA_OUT_POS   7

CTRL_SDA_OUT Position

◆ MXC_F_I2C_CTRL_SDA_POS

#define MXC_F_I2C_CTRL_SDA_POS   9

CTRL_SDA Position

◆ MXC_F_I2C_CTRL_SW_OUT_EN

#define MXC_F_I2C_CTRL_SW_OUT_EN   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_SW_OUT_EN_POS))

CTRL_SW_OUT_EN Mask

◆ MXC_F_I2C_CTRL_SW_OUT_EN_POS

#define MXC_F_I2C_CTRL_SW_OUT_EN_POS   10

CTRL_SW_OUT_EN Position