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

Macros

#define MXC_F_I2C_CTRL_EN_POS   0
 
#define MXC_F_I2C_CTRL_EN   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_EN_POS))
 
#define MXC_F_I2C_CTRL_MST_MODE_POS   1
 
#define MXC_F_I2C_CTRL_MST_MODE   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_MST_MODE_POS))
 
#define MXC_F_I2C_CTRL_GC_ADDR_EN_POS   2
 
#define MXC_F_I2C_CTRL_GC_ADDR_EN   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_GC_ADDR_EN_POS))
 
#define MXC_F_I2C_CTRL_IRXM_EN_POS   3
 
#define MXC_F_I2C_CTRL_IRXM_EN   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_IRXM_EN_POS))
 
#define MXC_F_I2C_CTRL_IRXM_ACK_POS   4
 
#define MXC_F_I2C_CTRL_IRXM_ACK   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_IRXM_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_BB_MODE_POS   10
 
#define MXC_F_I2C_CTRL_BB_MODE   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_BB_MODE_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_CLKSTR_DIS_POS   12
 
#define MXC_F_I2C_CTRL_CLKSTR_DIS   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_CLKSTR_DIS_POS))
 
#define MXC_F_I2C_CTRL_ONE_MST_MODE_POS   13
 
#define MXC_F_I2C_CTRL_ONE_MST_MODE   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_ONE_MST_MODE_POS))
 
#define MXC_F_I2C_CTRL_HS_EN_POS   15
 
#define MXC_F_I2C_CTRL_HS_EN   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_HS_EN_POS))
 

Detailed Description

Control Register0.

Macro Definition Documentation

◆ MXC_F_I2C_CTRL_BB_MODE

#define MXC_F_I2C_CTRL_BB_MODE   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_BB_MODE_POS))

CTRL_BB_MODE Mask

◆ MXC_F_I2C_CTRL_BB_MODE_POS

#define MXC_F_I2C_CTRL_BB_MODE_POS   10

CTRL_BB_MODE Position

◆ MXC_F_I2C_CTRL_CLKSTR_DIS

#define MXC_F_I2C_CTRL_CLKSTR_DIS   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_CLKSTR_DIS_POS))

CTRL_CLKSTR_DIS Mask

◆ MXC_F_I2C_CTRL_CLKSTR_DIS_POS

#define MXC_F_I2C_CTRL_CLKSTR_DIS_POS   12

CTRL_CLKSTR_DIS Position

◆ MXC_F_I2C_CTRL_EN

#define MXC_F_I2C_CTRL_EN   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_EN_POS))

CTRL_EN Mask

◆ MXC_F_I2C_CTRL_EN_POS

#define MXC_F_I2C_CTRL_EN_POS   0

CTRL_EN Position

◆ MXC_F_I2C_CTRL_GC_ADDR_EN

#define MXC_F_I2C_CTRL_GC_ADDR_EN   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_GC_ADDR_EN_POS))

CTRL_GC_ADDR_EN Mask

◆ MXC_F_I2C_CTRL_GC_ADDR_EN_POS

#define MXC_F_I2C_CTRL_GC_ADDR_EN_POS   2

CTRL_GC_ADDR_EN Position

◆ MXC_F_I2C_CTRL_HS_EN

#define MXC_F_I2C_CTRL_HS_EN   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_HS_EN_POS))

CTRL_HS_EN Mask

◆ MXC_F_I2C_CTRL_HS_EN_POS

#define MXC_F_I2C_CTRL_HS_EN_POS   15

CTRL_HS_EN Position

◆ MXC_F_I2C_CTRL_IRXM_ACK

#define MXC_F_I2C_CTRL_IRXM_ACK   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_IRXM_ACK_POS))

CTRL_IRXM_ACK Mask

◆ MXC_F_I2C_CTRL_IRXM_ACK_POS

#define MXC_F_I2C_CTRL_IRXM_ACK_POS   4

CTRL_IRXM_ACK Position

◆ MXC_F_I2C_CTRL_IRXM_EN

#define MXC_F_I2C_CTRL_IRXM_EN   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_IRXM_EN_POS))

CTRL_IRXM_EN Mask

◆ MXC_F_I2C_CTRL_IRXM_EN_POS

#define MXC_F_I2C_CTRL_IRXM_EN_POS   3

CTRL_IRXM_EN Position

◆ MXC_F_I2C_CTRL_MST_MODE

#define MXC_F_I2C_CTRL_MST_MODE   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_MST_MODE_POS))

CTRL_MST_MODE Mask

◆ MXC_F_I2C_CTRL_MST_MODE_POS

#define MXC_F_I2C_CTRL_MST_MODE_POS   1

CTRL_MST_MODE Position

◆ MXC_F_I2C_CTRL_ONE_MST_MODE

#define MXC_F_I2C_CTRL_ONE_MST_MODE   ((uint32_t)(0x1UL << MXC_F_I2C_CTRL_ONE_MST_MODE_POS))

CTRL_ONE_MST_MODE Mask

◆ MXC_F_I2C_CTRL_ONE_MST_MODE_POS

#define MXC_F_I2C_CTRL_ONE_MST_MODE_POS   13

CTRL_ONE_MST_MODE 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_SCL

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

CTRL_SCL Mask

◆ 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_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