expand12 2.0.0.0
Expand 12 Registers Settings

Settings for registers of Expand 12 Click driver. More...

Macros

#define EXPAND12_PIN_4   0x00
 Expand 12 pin and port selection values.
 
#define EXPAND12_PIN_5   0x01
 
#define EXPAND12_PIN_6   0x02
 
#define EXPAND12_PIN_7   0x03
 
#define EXPAND12_PIN_8   0x04
 
#define EXPAND12_PIN_9   0x05
 
#define EXPAND12_PIN_10   0x06
 
#define EXPAND12_PIN_11   0x07
 
#define EXPAND12_PIN_12   0x08
 
#define EXPAND12_PIN_13   0x09
 
#define EXPAND12_PIN_14   0x0A
 
#define EXPAND12_PIN_15   0x0B
 
#define EXPAND12_PIN_16   0x0C
 
#define EXPAND12_PIN_17   0x0D
 
#define EXPAND12_PIN_18   0x0E
 
#define EXPAND12_PIN_19   0x0F
 
#define EXPAND12_PIN_20   0x10
 
#define EXPAND12_PIN_21   0x11
 
#define EXPAND12_PIN_22   0x12
 
#define EXPAND12_PIN_23   0x13
 
#define EXPAND12_PIN_24   0x14
 
#define EXPAND12_PIN_25   0x15
 
#define EXPAND12_PIN_26   0x16
 
#define EXPAND12_PIN_27   0x17
 
#define EXPAND12_PIN_28   0x18
 
#define EXPAND12_PIN_29   0x19
 
#define EXPAND12_PIN_30   0x1A
 
#define EXPAND12_PIN_31   0x1B
 
#define EXPAND12_ALL_PINS   0xFF
 
#define EXPAND12_NO_PINS   0x00
 
#define EXPAND12_PORT_4_7   0x00
 
#define EXPAND12_PORT_8_15   0x01
 
#define EXPAND12_PORT_16_23   0x02
 
#define EXPAND12_PORT_24_31   0x03
 
#define EXPAND12_DIR_OUTPUT   0x01
 Expand 12 pin direction setting.
 
#define EXPAND12_DIR_INPUT   0x02
 
#define EXPAND12_DIR_INPUT_WITH_PULLUP   0x03
 
#define EXPAND12_OPMODE_SHUTDOWN   0x00
 Expand 12 operating mode setting.
 
#define EXPAND12_OPMODE_NORMAL   0x01
 
#define EXPAND12_PIN_LOW_LEVEL   0x00
 Expand 12 pin logic level values.
 
#define EXPAND12_PIN_HIGH_LEVEL   0x01
 
#define EXPAND12_SET_DEV_ADDR_A1A0_00   0x40
 Expand 12 device address setting.
 
#define EXPAND12_SET_DEV_ADDR_A1A0_01   0x41
 
#define EXPAND12_SET_DEV_ADDR_A1A0_10   0x44
 
#define EXPAND12_SET_DEV_ADDR_A1A0_11   0x45
 

Detailed Description

Settings for registers of Expand 12 Click driver.

Macro Definition Documentation

◆ EXPAND12_ALL_PINS

#define EXPAND12_ALL_PINS   0xFF

◆ EXPAND12_DIR_INPUT

#define EXPAND12_DIR_INPUT   0x02

◆ EXPAND12_DIR_INPUT_WITH_PULLUP

#define EXPAND12_DIR_INPUT_WITH_PULLUP   0x03

◆ EXPAND12_DIR_OUTPUT

#define EXPAND12_DIR_OUTPUT   0x01

Expand 12 pin direction setting.

Specified setting for pin direction of Expand 12 Click driver.

◆ EXPAND12_NO_PINS

#define EXPAND12_NO_PINS   0x00

◆ EXPAND12_OPMODE_NORMAL

#define EXPAND12_OPMODE_NORMAL   0x01

◆ EXPAND12_OPMODE_SHUTDOWN

#define EXPAND12_OPMODE_SHUTDOWN   0x00

Expand 12 operating mode setting.

Specified setting for operating mode of Expand 12 Click driver.

◆ EXPAND12_PIN_10

#define EXPAND12_PIN_10   0x06

◆ EXPAND12_PIN_11

#define EXPAND12_PIN_11   0x07

◆ EXPAND12_PIN_12

#define EXPAND12_PIN_12   0x08

◆ EXPAND12_PIN_13

#define EXPAND12_PIN_13   0x09

◆ EXPAND12_PIN_14

#define EXPAND12_PIN_14   0x0A

◆ EXPAND12_PIN_15

#define EXPAND12_PIN_15   0x0B

◆ EXPAND12_PIN_16

#define EXPAND12_PIN_16   0x0C

◆ EXPAND12_PIN_17

#define EXPAND12_PIN_17   0x0D

◆ EXPAND12_PIN_18

#define EXPAND12_PIN_18   0x0E

◆ EXPAND12_PIN_19

#define EXPAND12_PIN_19   0x0F

◆ EXPAND12_PIN_20

#define EXPAND12_PIN_20   0x10

◆ EXPAND12_PIN_21

#define EXPAND12_PIN_21   0x11

◆ EXPAND12_PIN_22

#define EXPAND12_PIN_22   0x12

◆ EXPAND12_PIN_23

#define EXPAND12_PIN_23   0x13

◆ EXPAND12_PIN_24

#define EXPAND12_PIN_24   0x14

◆ EXPAND12_PIN_25

#define EXPAND12_PIN_25   0x15

◆ EXPAND12_PIN_26

#define EXPAND12_PIN_26   0x16

◆ EXPAND12_PIN_27

#define EXPAND12_PIN_27   0x17

◆ EXPAND12_PIN_28

#define EXPAND12_PIN_28   0x18

◆ EXPAND12_PIN_29

#define EXPAND12_PIN_29   0x19

◆ EXPAND12_PIN_30

#define EXPAND12_PIN_30   0x1A

◆ EXPAND12_PIN_31

#define EXPAND12_PIN_31   0x1B

◆ EXPAND12_PIN_4

#define EXPAND12_PIN_4   0x00

Expand 12 pin and port selection values.

Specified pin and port selection values of Expand 12 Click driver.

◆ EXPAND12_PIN_5

#define EXPAND12_PIN_5   0x01

◆ EXPAND12_PIN_6

#define EXPAND12_PIN_6   0x02

◆ EXPAND12_PIN_7

#define EXPAND12_PIN_7   0x03

◆ EXPAND12_PIN_8

#define EXPAND12_PIN_8   0x04

◆ EXPAND12_PIN_9

#define EXPAND12_PIN_9   0x05

◆ EXPAND12_PIN_HIGH_LEVEL

#define EXPAND12_PIN_HIGH_LEVEL   0x01

◆ EXPAND12_PIN_LOW_LEVEL

#define EXPAND12_PIN_LOW_LEVEL   0x00

Expand 12 pin logic level values.

Specified pin logic level values of Expand 12 Click driver.

◆ EXPAND12_PORT_16_23

#define EXPAND12_PORT_16_23   0x02

◆ EXPAND12_PORT_24_31

#define EXPAND12_PORT_24_31   0x03

◆ EXPAND12_PORT_4_7

#define EXPAND12_PORT_4_7   0x00

◆ EXPAND12_PORT_8_15

#define EXPAND12_PORT_8_15   0x01

◆ EXPAND12_SET_DEV_ADDR_A1A0_00

#define EXPAND12_SET_DEV_ADDR_A1A0_00   0x40

Expand 12 device address setting.

Specified setting for device slave address selection of Expand 12 Click driver.

◆ EXPAND12_SET_DEV_ADDR_A1A0_01

#define EXPAND12_SET_DEV_ADDR_A1A0_01   0x41

◆ EXPAND12_SET_DEV_ADDR_A1A0_10

#define EXPAND12_SET_DEV_ADDR_A1A0_10   0x44

◆ EXPAND12_SET_DEV_ADDR_A1A0_11

#define EXPAND12_SET_DEV_ADDR_A1A0_11   0x45