![]() |
MAX78000 Peripheral Driver API
Peripheral Driver API for the MAX78000
|
Control Register0.
#define MXC_F_I2C_CTRL_BB_MODE ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_BB_MODE_POS)) |
CTRL_BB_MODE Mask
#define MXC_F_I2C_CTRL_BB_MODE_POS 10 |
CTRL_BB_MODE Position
#define MXC_F_I2C_CTRL_CLKSTR_DIS ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_CLKSTR_DIS_POS)) |
CTRL_CLKSTR_DIS Mask
#define MXC_F_I2C_CTRL_CLKSTR_DIS_POS 12 |
CTRL_CLKSTR_DIS Position
#define MXC_F_I2C_CTRL_EN ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_EN_POS)) |
CTRL_EN Mask
#define MXC_F_I2C_CTRL_EN_POS 0 |
CTRL_EN Position
#define MXC_F_I2C_CTRL_GC_ADDR_EN ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_GC_ADDR_EN_POS)) |
CTRL_GC_ADDR_EN Mask
#define MXC_F_I2C_CTRL_GC_ADDR_EN_POS 2 |
CTRL_GC_ADDR_EN Position
#define MXC_F_I2C_CTRL_HS_EN ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_HS_EN_POS)) |
CTRL_HS_EN Mask
#define MXC_F_I2C_CTRL_HS_EN_POS 15 |
CTRL_HS_EN Position
#define MXC_F_I2C_CTRL_IRXM_ACK ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_IRXM_ACK_POS)) |
CTRL_IRXM_ACK Mask
#define MXC_F_I2C_CTRL_IRXM_ACK_POS 4 |
CTRL_IRXM_ACK Position
#define MXC_F_I2C_CTRL_IRXM_EN ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_IRXM_EN_POS)) |
CTRL_IRXM_EN Mask
#define MXC_F_I2C_CTRL_IRXM_EN_POS 3 |
CTRL_IRXM_EN Position
#define MXC_F_I2C_CTRL_MST_MODE ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_MST_MODE_POS)) |
CTRL_MST_MODE Mask
#define MXC_F_I2C_CTRL_MST_MODE_POS 1 |
CTRL_MST_MODE Position
#define MXC_F_I2C_CTRL_ONE_MST_MODE ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_ONE_MST_MODE_POS)) |
CTRL_ONE_MST_MODE Mask
#define MXC_F_I2C_CTRL_ONE_MST_MODE_POS 13 |
CTRL_ONE_MST_MODE 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_SCL ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_SCL_POS)) |
CTRL_SCL Mask
#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_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