i2cmux2 2.0.0.0

Topics

 MikroBUS
 
 Error Code
 

Macros

#define I2CMUX2_I2C_SLAVE_ADDRESS_0   0x70
 
#define I2CMUX2_I2C_SLAVE_ADDRESS_1   0x71
 
#define I2CMUX2_I2C_SLAVE_ADDRESS_2   0x72
 
#define I2CMUX2_I2C_SLAVE_ADDRESS_3   0x73
 
#define I2CMUX2_I2C_SLAVE_ADDRESS_4   0x74
 
#define I2CMUX2_I2C_SLAVE_ADDRESS_5   0x75
 
#define I2CMUX2_I2C_SLAVE_ADDRESS_6   0x76
 
#define I2CMUX2_I2C_SLAVE_ADDRESS_7   0x77
 
#define I2CMUX2_CMD_NO_CH   0x00
 
#define I2CMUX2_CMD_SET_CH_0   0x01
 
#define I2CMUX2_CMD_SET_CH_1   0x02
 
#define I2CMUX2_CMD_SET_CH_2   0x04
 
#define I2CMUX2_CMD_SET_CH_3   0x08
 
#define I2CMUX2_INT_BITS   0xF0
 
#define I2CMUX2_INT_NO_CH   0x00
 
#define I2CMUX2_INT_CH_0   0x01
 
#define I2CMUX2_INT_CH_1   0x02
 
#define I2CMUX2_INT_CH_2   0x04
 
#define I2CMUX2_INT_CH_3   0x08
 
#define I2CMUX2_INT_PIN_STATE_ACTIVE   0x00
 
#define I2CMUX2_INT_PIN_STATE_NOT_ACTIVE   0x01
 

Detailed Description

Any initialization code needed for MCU to function properly. Do not remove this line or clock might not be set correctly.

Macro Definition Documentation

◆ I2CMUX2_CMD_NO_CH

#define I2CMUX2_CMD_NO_CH   0x00

◆ I2CMUX2_CMD_SET_CH_0

#define I2CMUX2_CMD_SET_CH_0   0x01

◆ I2CMUX2_CMD_SET_CH_1

#define I2CMUX2_CMD_SET_CH_1   0x02

◆ I2CMUX2_CMD_SET_CH_2

#define I2CMUX2_CMD_SET_CH_2   0x04

◆ I2CMUX2_CMD_SET_CH_3

#define I2CMUX2_CMD_SET_CH_3   0x08

◆ I2CMUX2_I2C_SLAVE_ADDRESS_0

#define I2CMUX2_I2C_SLAVE_ADDRESS_0   0x70

◆ I2CMUX2_I2C_SLAVE_ADDRESS_1

#define I2CMUX2_I2C_SLAVE_ADDRESS_1   0x71

◆ I2CMUX2_I2C_SLAVE_ADDRESS_2

#define I2CMUX2_I2C_SLAVE_ADDRESS_2   0x72

◆ I2CMUX2_I2C_SLAVE_ADDRESS_3

#define I2CMUX2_I2C_SLAVE_ADDRESS_3   0x73

◆ I2CMUX2_I2C_SLAVE_ADDRESS_4

#define I2CMUX2_I2C_SLAVE_ADDRESS_4   0x74

◆ I2CMUX2_I2C_SLAVE_ADDRESS_5

#define I2CMUX2_I2C_SLAVE_ADDRESS_5   0x75

◆ I2CMUX2_I2C_SLAVE_ADDRESS_6

#define I2CMUX2_I2C_SLAVE_ADDRESS_6   0x76

◆ I2CMUX2_I2C_SLAVE_ADDRESS_7

#define I2CMUX2_I2C_SLAVE_ADDRESS_7   0x77

◆ I2CMUX2_INT_BITS

#define I2CMUX2_INT_BITS   0xF0

◆ I2CMUX2_INT_CH_0

#define I2CMUX2_INT_CH_0   0x01

◆ I2CMUX2_INT_CH_1

#define I2CMUX2_INT_CH_1   0x02

◆ I2CMUX2_INT_CH_2

#define I2CMUX2_INT_CH_2   0x04

◆ I2CMUX2_INT_CH_3

#define I2CMUX2_INT_CH_3   0x08

◆ I2CMUX2_INT_NO_CH

#define I2CMUX2_INT_NO_CH   0x00

◆ I2CMUX2_INT_PIN_STATE_ACTIVE

#define I2CMUX2_INT_PIN_STATE_ACTIVE   0x00

◆ I2CMUX2_INT_PIN_STATE_NOT_ACTIVE

#define I2CMUX2_INT_PIN_STATE_NOT_ACTIVE   0x01