![]() |
MAX32665 Peripheral Driver API
Peripheral Driver API for the MAX32665
|
Control Register.
#define MXC_F_I2C_CTRL_GEN_CALL_ADDR ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_GEN_CALL_ADDR_POS)) |
CTRL_GEN_CALL_ADDR Mask
#define MXC_F_I2C_CTRL_GEN_CALL_ADDR_POS 2 |
CTRL_GEN_CALL_ADDR Position
#define MXC_F_I2C_CTRL_HS_MODE ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_HS_MODE_POS)) |
CTRL_HS_MODE Mask
#define MXC_F_I2C_CTRL_HS_MODE_POS 15 |
CTRL_HS_MODE Position
#define MXC_F_I2C_CTRL_I2C_EN ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_I2C_EN_POS)) |
CTRL_I2C_EN Mask
#define MXC_F_I2C_CTRL_I2C_EN_POS 0 |
CTRL_I2C_EN Position
#define MXC_F_I2C_CTRL_MST ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_MST_POS)) |
CTRL_MST Mask
#define MXC_F_I2C_CTRL_MST_POS 1 |
CTRL_MST Position
#define MXC_F_I2C_CTRL_READ ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_READ_POS)) |
CTRL_READ Mask
#define MXC_F_I2C_CTRL_READ_POS 11 |
CTRL_READ Position
#define MXC_F_I2C_CTRL_RX_MODE ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_RX_MODE_POS)) |
CTRL_RX_MODE Mask
#define MXC_F_I2C_CTRL_RX_MODE_ACK ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_RX_MODE_ACK_POS)) |
CTRL_RX_MODE_ACK Mask
#define MXC_F_I2C_CTRL_RX_MODE_ACK_POS 4 |
CTRL_RX_MODE_ACK Position
#define MXC_F_I2C_CTRL_RX_MODE_POS 3 |
CTRL_RX_MODE Position
#define MXC_F_I2C_CTRL_SCL ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_SCL_POS)) |
CTRL_SCL Mask
#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
#define MXC_F_I2C_CTRL_SCL_CLK_STRETCH_DIS_POS 12 |
CTRL_SCL_CLK_STRETCH_DIS Position
#define MXC_F_I2C_CTRL_SCL_OUT ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_SCL_OUT_POS)) |
CTRL_SCL_OUT Mask
#define MXC_F_I2C_CTRL_SCL_OUT_POS 6 |
CTRL_SCL_OUT Position
#define MXC_F_I2C_CTRL_SCL_POS 8 |
CTRL_SCL Position
#define MXC_F_I2C_CTRL_SCL_PP_MODE ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_SCL_PP_MODE_POS)) |
CTRL_SCL_PP_MODE Mask
#define MXC_F_I2C_CTRL_SCL_PP_MODE_POS 13 |
CTRL_SCL_PP_MODE Position
#define MXC_F_I2C_CTRL_SDA ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_SDA_POS)) |
CTRL_SDA Mask
#define MXC_F_I2C_CTRL_SDA_OUT ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_SDA_OUT_POS)) |
CTRL_SDA_OUT Mask
#define MXC_F_I2C_CTRL_SDA_OUT_POS 7 |
CTRL_SDA_OUT Position
#define MXC_F_I2C_CTRL_SDA_POS 9 |
CTRL_SDA Position
#define MXC_F_I2C_CTRL_SW_OUT_EN ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_SW_OUT_EN_POS)) |
CTRL_SW_OUT_EN Mask
#define MXC_F_I2C_CTRL_SW_OUT_EN_POS 10 |
CTRL_SW_OUT_EN Position