button3  2.1.0.0
Macros
Button 3 Registers Settings

Settings for registers of Button 3 Click driver. More...

Macros

#define BUTTON3_PIN_RED_BUTTON   0x01
 Button 3 pin mask. More...
 
#define BUTTON3_PIN_RED_LED   0x02
 
#define BUTTON3_PIN_GREEN_BUTTON   0x04
 
#define BUTTON3_PIN_GREEN_LED   0x08
 
#define BUTTON3_PIN_BLUE_LED   0x10
 
#define BUTTON3_PIN_BLUE_BUTTON   0x20
 
#define BUTTON3_DEFAULT_PIN_CONFIG   0xE5
 Button 3 pin direction config. More...
 
#define BUTTON3_PIN_STATE_LOW   0
 Button 3 pin logic state setting. More...
 
#define BUTTON3_PIN_STATE_HIGH   1
 
#define BUTTON3_SWITCH_OFF   0
 Button 3 switch state setting. More...
 
#define BUTTON3_SWITCH_ON   1
 
#define BUTTON3_BUTTON_PRESSED   0
 Button 3 button state setting. More...
 
#define BUTTON3_BUTTON_RELESED   1
 
#define BUTTON3_DEVICE_ADDRESS_0   0x20
 Button 3 device address setting. More...
 
#define BUTTON3_DEVICE_ADDRESS_1   0x21
 

Detailed Description

Settings for registers of Button 3 Click driver.

Macro Definition Documentation

◆ BUTTON3_BUTTON_PRESSED

#define BUTTON3_BUTTON_PRESSED   0

Button 3 button state setting.

Specified setting for button state of Button 3 Click driver.

◆ BUTTON3_BUTTON_RELESED

#define BUTTON3_BUTTON_RELESED   1

◆ BUTTON3_DEFAULT_PIN_CONFIG

#define BUTTON3_DEFAULT_PIN_CONFIG   0xE5

Button 3 pin direction config.

Specified pin direction config of Button 3 Click driver.

◆ BUTTON3_DEVICE_ADDRESS_0

#define BUTTON3_DEVICE_ADDRESS_0   0x20

Button 3 device address setting.

Specified setting for device slave address selection of Button 3 Click driver.

◆ BUTTON3_DEVICE_ADDRESS_1

#define BUTTON3_DEVICE_ADDRESS_1   0x21

◆ BUTTON3_PIN_BLUE_BUTTON

#define BUTTON3_PIN_BLUE_BUTTON   0x20

◆ BUTTON3_PIN_BLUE_LED

#define BUTTON3_PIN_BLUE_LED   0x10

◆ BUTTON3_PIN_GREEN_BUTTON

#define BUTTON3_PIN_GREEN_BUTTON   0x04

◆ BUTTON3_PIN_GREEN_LED

#define BUTTON3_PIN_GREEN_LED   0x08

◆ BUTTON3_PIN_RED_BUTTON

#define BUTTON3_PIN_RED_BUTTON   0x01

Button 3 pin mask.

Specified PCA9538A pin mask of Button 3 Click driver.

◆ BUTTON3_PIN_RED_LED

#define BUTTON3_PIN_RED_LED   0x02

◆ BUTTON3_PIN_STATE_HIGH

#define BUTTON3_PIN_STATE_HIGH   1

◆ BUTTON3_PIN_STATE_LOW

#define BUTTON3_PIN_STATE_LOW   0

Button 3 pin logic state setting.

Specified setting for pin logic state of Button 3 Click driver.

◆ BUTTON3_SWITCH_OFF

#define BUTTON3_SWITCH_OFF   0

Button 3 switch state setting.

Specified setting for switch state of Button 3 Click driver.

◆ BUTTON3_SWITCH_ON

#define BUTTON3_SWITCH_ON   1