heartrate11 2.0.0.0
Heart Rate 11 Registers Settings

Settings for registers of Heart Rate 11 Click driver. More...

Macros

#define HEARTRATE11_POR_STATUS   0x80
 Heart Rate 11 STATUS_0 register settings.
 
#define HEARTRATE11_LS_INT_STATUS   0x02
 
#define HEARTRATE11_LS_NEW_DATA   0x01
 
#define HEARTRATE11_TS_DATA_STATUS   0x80
 Heart Rate 11 STATUS_1 register settings.
 
#define HEARTRATE11_FIFO_AFULL_STATUS   0x20
 
#define HEARTRATE11_PPG_DATA_STATUS   0x10
 
#define HEARTRATE11_PS_LOGIC_STATUS   0x04
 
#define HEARTRATE11_PS_INT_STATUS   0x02
 
#define HEARTRATE11_PS_NEW_DATA   0x01
 
#define HEARTRATE11_SW_RESET   0x80
 Heart Rate 11 MAIN_CTRL_0 register settings.
 
#define HEARTRATE11_LS_SAI_ON   0x08
 
#define HEARTRATE11_LS_SAI_OFF   0x00
 
#define HEARTRATE11_ALS_MODE   0x00
 
#define HEARTRATE11_RGB_MODE   0x02
 
#define HEARTRATE11_LS_OFF   0x00
 
#define HEARTRATE11_LS_ON   0x01
 
#define HEARTRATE11_PS_SAI_ON   0x08
 Heart Rate 11 MAIN_CTRL_1 register settings.
 
#define HEARTRATE11_PS_SAI_OFF   0x00
 
#define HEARTRATE11_PS_MODE   0x00
 
#define HEARTRATE11_HR_MODE   0x02
 
#define HEARTRATE11_SPO2_MODE   0x04
 
#define HEARTRATE11_PPG_PS_ON   0x01
 
#define HEARTRATE11_PPG_PS_OFF   0x00
 
#define HEARTRATE11_PS_LED   0
 Heart Rate 11 led current settings.
 
#define HEARTRATE11_IR_LED   1
 
#define HEARTRATE11_RED_LED   2
 
#define HEARTRATE11_IR_LED_DEFAULT_CURRENT   50.0
 
#define HEARTRATE11_PS_IR_LED_MAX_CURRENT   250.0
 
#define HEARTRATE11_RED_LED_MAX_CURRENT   125.0
 
#define HEARTRATE11_PS_IR_LED_CURRENT_RES   0x03FF
 
#define HEARTRATE11_RED_LED_CURRENT_RES   0x01FF
 
#define HEARTRATE11_ROUND_TO_NEAREST_INT   0.5
 
#define HEARTRATE11_PS_CAN_ANA_OFF   0x00
 Heart Rate 11 PS_CAN_PULSES register settings.
 
#define HEARTRATE11_PS_CAN_ANA_ON   0x40
 
#define HEARTRATE11_PS_PULSES(x)   ( ( x ) & ( 0x07 ) ) << 3 )
 
#define HEARTRATE11_PS_CAN_PULSES_RESERVED   0x02
 
#define HEARTRATE11_PS_PWIDTH_26US   0x00
 Heart Rate 11 PS_PWIDTH_RATE register settings.
 
#define HEARTRATE11_PS_PWIDTH_42US   0x10
 
#define HEARTRATE11_PS_PWIDTH_71US   0x20
 
#define HEARTRATE11_PS_RATE_3p125MS   0x00
 
#define HEARTRATE11_PS_RATE_6p25MS   0x01
 
#define HEARTRATE11_PS_RATE_12p5MS   0x02
 
#define HEARTRATE11_PS_RATE_25MS   0x03
 
#define HEARTRATE11_PS_RATE_50MS   0x04
 
#define HEARTRATE11_PS_RATE_100MS   0x05
 
#define HEARTRATE11_PS_RATE_200MS   0x06
 
#define HEARTRATE11_PS_RATE_400MS   0x07
 
#define HEARTRATE11_PS_MOV_AVG_ON   0x80
 Heart Rate 11 PS_MOV_AVG_HYS register settings.
 
#define HEARTRATE11_PS_MOV_AVG_OFF   0x00
 
#define HEARTRATE11_PS_HYS_LEVEL(x)   ( x >> 1 )
 
#define HEARTRATE11_LS_RES_20BIT_400MS   0x00
 Heart Rate 11 LS_RES_RATE register settings.
 
#define HEARTRATE11_LS_RES_19BIT_200MS   0x10
 
#define HEARTRATE11_LS_RES_18BIT_100MS   0x20
 
#define HEARTRATE11_LS_RES_17BIT_50MS   0x30
 
#define HEARTRATE11_LS_RES_16BIT_25MS   0x40
 
#define HEARTRATE11_LS_RES_13BIT_3p125MS   0x50
 
#define HEARTRATE11_LS_RATE_25MS   0x00
 
#define HEARTRATE11_LS_RATE_50MS   0x01
 
#define HEARTRATE11_LS_RATE_100MS   0x02
 
#define HEARTRATE11_LS_RATE_200MS   0x03
 
#define HEARTRATE11_LS_RATE_500MS   0x04
 
#define HEARTRATE11_LS_RATE_1000MS   0x05
 
#define HEARTRATE11_LS_RATE_2000MS   0x06
 
#define HEARTRATE11_LS_GAIN_1   0x00
 Heart Rate 11 LS_GAIN register settings.
 
#define HEARTRATE11_LS_GAIN_3   0x01
 
#define HEARTRATE11_LS_GAIN_6   0x02
 
#define HEARTRATE11_LS_INT_SEL_C   0x00
 Heart Rate 11 INT_CFG_0 register settings.
 
#define HEARTRATE11_LS_INT_SEL_G   0x10
 
#define HEARTRATE11_LS_INT_SEL_R   0x20
 
#define HEARTRATE11_LS_INT_SEL_B   0x30
 
#define HEARTRATE11_LS_THRES_INT_MODE   0x00
 
#define HEARTRATE11_LS_VAR_INT_MODE   0x02
 
#define HEARTRATE11_LS_INT_OFF   0x00
 
#define HEARTRATE11_LS_INT_ON   0x01
 
#define HEARTRATE11_AFULL_INT_OFF   0x00
 Heart Rate 11 INT_CFG_1 register settings.
 
#define HEARTRATE11_AFULL_INT_ON   0x20
 
#define HEARTRATE11_PPG_INT_OFF   0x00
 
#define HEARTRATE11_PPG_INT_ON   0x10
 
#define HEARTRATE11_PS_INT_LOGIC   0x02
 
#define HEARTRATE11_PS_INT_OFF   0x00
 
#define HEARTRATE11_PS_INT_ON   0x01
 
#define HEARTRATE11_LS_PERSIST(x)   ( ( x & 0x0F ) << 4 )
 Heart Rate 11 INT_PST register settings.
 
#define HEARTRATE11_PS_PERSIST(x)   ( x & 0x0F)
 
#define HEARTRATE11_PPG_PS_GAIN_1   0x00
 Heart Rate 11 PPG_PS_GAIN register settings.
 
#define HEARTRATE11_PPG_PS_GAIN_1p5   0x10
 
#define HEARTRATE11_PPG_PS_GAIN_2   0x20
 
#define HEARTRATE11_PPG_PS_GAIN_4   0x30
 
#define HEARTRATE11_PPG_PS_GAIN_RESERVED   0x09
 
#define HEARTRATE11_PPG_POW_SAVE_OFF   0x00
 Heart Rate 11 PPG_PS_CFG register settings.
 
#define HEARTRATE11_PPG_POW_SAVE_ON   0x40
 
#define HEARTRATE11_LED_FLIP_OFF   0x00
 
#define HEARTRATE11_LED_FLIP_ON   0x08
 
#define HEARTRATE11_PPG_CH1_CAN_ANA_OFF   0x00
 Heart Rate 11 PPG_CAN_ANA register settings.
 
#define HEARTRATE11_PPG_CH1_CAN_ANA_ON   0x04
 
#define HEARTRATE11_PPG_CH2_CAN_ANA_OFF   0x00
 
#define HEARTRATE11_PPG_CH2_CAN_ANA_ON   0x04
 
#define HEARTRATE11_PPG_AVG_1   0x00
 Heart Rate 11 PPG_AVG register settings.
 
#define HEARTRATE11_PPG_AVG_2   0x10
 
#define HEARTRATE11_PPG_AVG_4   0x20
 
#define HEARTRATE11_PPG_AVG_8   0x30
 
#define HEARTRATE11_PPG_AVG_16   0x40
 
#define HEARTRATE11_PPG_AVG_32   0x50
 
#define HEARTRATE11_PPG_AVG_RESERVED   0x0A
 
#define HEARTRATE11_PPG_PWIDTH_130US   0x30
 Heart Rate 11 PPG_PWIDTH_RATE register settings.
 
#define HEARTRATE11_PPG_PWIDTH_247US   0x40
 
#define HEARTRATE11_PPG_PWIDTH_481US   0x50
 
#define HEARTRATE11_PPG_PWIDTH_949US   0x60
 
#define HEARTRATE11_PPG_RATE_0p3125MS   0x00
 
#define HEARTRATE11_PPG_RATE_0p625MS   0x01
 
#define HEARTRATE11_PPG_RATE_1MS   0x02
 
#define HEARTRATE11_PPG_RATE_1p25MS   0x03
 
#define HEARTRATE11_PPG_RATE_2p5MS   0x04
 
#define HEARTRATE11_PPG_RATE_5MS   0x05
 
#define HEARTRATE11_PPG_RATE_10MS   0x06
 
#define HEARTRATE11_PPG_RATE_20MS   0x07
 
#define HEARTRATE11_FIFO_ROLL_OFF   0x00
 Heart Rate 11 FIFO_CFG register settings.
 
#define HEARTRATE11_FIFO_ROLL_ON   0x10
 
#define HEARTRATE11_FIFO_AFULL_WARNING(x)   ( x & 0x0F )
 
#define HEARTRATE11_FIFO_INDEX(x)   ( x & 0x1F )
 Heart Rate 11 FIFO_WR_PTR register settings.
 
#define HEARTRATE11_DEVICE_ADDRESS   0x53
 Heart Rate 11 device address setting.
 

Detailed Description

Settings for registers of Heart Rate 11 Click driver.

Macro Definition Documentation

◆ HEARTRATE11_AFULL_INT_OFF

#define HEARTRATE11_AFULL_INT_OFF   0x00

Heart Rate 11 INT_CFG_1 register settings.

Specified INT_CFG_1 register settings of Heart Rate 11 Click driver.

◆ HEARTRATE11_AFULL_INT_ON

#define HEARTRATE11_AFULL_INT_ON   0x20

◆ HEARTRATE11_ALS_MODE

#define HEARTRATE11_ALS_MODE   0x00

◆ HEARTRATE11_DEVICE_ADDRESS

#define HEARTRATE11_DEVICE_ADDRESS   0x53

Heart Rate 11 device address setting.

Specified setting for device slave address selection of Heart Rate 11 Click driver.

◆ HEARTRATE11_FIFO_AFULL_STATUS

#define HEARTRATE11_FIFO_AFULL_STATUS   0x20

◆ HEARTRATE11_FIFO_AFULL_WARNING

#define HEARTRATE11_FIFO_AFULL_WARNING ( x)    ( x & 0x0F )

◆ HEARTRATE11_FIFO_INDEX

#define HEARTRATE11_FIFO_INDEX ( x)    ( x & 0x1F )

Heart Rate 11 FIFO_WR_PTR register settings.

Specified FIFO_WR_PTR register settings of Heart Rate 11 Click driver.

◆ HEARTRATE11_FIFO_ROLL_OFF

#define HEARTRATE11_FIFO_ROLL_OFF   0x00

Heart Rate 11 FIFO_CFG register settings.

Specified FIFO_CFG register settings of Heart Rate 11 Click driver.

◆ HEARTRATE11_FIFO_ROLL_ON

#define HEARTRATE11_FIFO_ROLL_ON   0x10

◆ HEARTRATE11_HR_MODE

#define HEARTRATE11_HR_MODE   0x02

◆ HEARTRATE11_IR_LED

#define HEARTRATE11_IR_LED   1

◆ HEARTRATE11_IR_LED_DEFAULT_CURRENT

#define HEARTRATE11_IR_LED_DEFAULT_CURRENT   50.0

◆ HEARTRATE11_LED_FLIP_OFF

#define HEARTRATE11_LED_FLIP_OFF   0x00

◆ HEARTRATE11_LED_FLIP_ON

#define HEARTRATE11_LED_FLIP_ON   0x08

◆ HEARTRATE11_LS_GAIN_1

#define HEARTRATE11_LS_GAIN_1   0x00

Heart Rate 11 LS_GAIN register settings.

Specified LS_GAIN register settings of Heart Rate 11 Click driver.

◆ HEARTRATE11_LS_GAIN_3

#define HEARTRATE11_LS_GAIN_3   0x01

◆ HEARTRATE11_LS_GAIN_6

#define HEARTRATE11_LS_GAIN_6   0x02

◆ HEARTRATE11_LS_INT_OFF

#define HEARTRATE11_LS_INT_OFF   0x00

◆ HEARTRATE11_LS_INT_ON

#define HEARTRATE11_LS_INT_ON   0x01

◆ HEARTRATE11_LS_INT_SEL_B

#define HEARTRATE11_LS_INT_SEL_B   0x30

◆ HEARTRATE11_LS_INT_SEL_C

#define HEARTRATE11_LS_INT_SEL_C   0x00

Heart Rate 11 INT_CFG_0 register settings.

Specified INT_CFG_0 register settings of Heart Rate 11 Click driver.

◆ HEARTRATE11_LS_INT_SEL_G

#define HEARTRATE11_LS_INT_SEL_G   0x10

◆ HEARTRATE11_LS_INT_SEL_R

#define HEARTRATE11_LS_INT_SEL_R   0x20

◆ HEARTRATE11_LS_INT_STATUS

#define HEARTRATE11_LS_INT_STATUS   0x02

◆ HEARTRATE11_LS_NEW_DATA

#define HEARTRATE11_LS_NEW_DATA   0x01

◆ HEARTRATE11_LS_OFF

#define HEARTRATE11_LS_OFF   0x00

◆ HEARTRATE11_LS_ON

#define HEARTRATE11_LS_ON   0x01

◆ HEARTRATE11_LS_PERSIST

#define HEARTRATE11_LS_PERSIST ( x)    ( ( x & 0x0F ) << 4 )

Heart Rate 11 INT_PST register settings.

Specified INT_PST register settings of Heart Rate 11 Click driver.

◆ HEARTRATE11_LS_RATE_1000MS

#define HEARTRATE11_LS_RATE_1000MS   0x05

◆ HEARTRATE11_LS_RATE_100MS

#define HEARTRATE11_LS_RATE_100MS   0x02

◆ HEARTRATE11_LS_RATE_2000MS

#define HEARTRATE11_LS_RATE_2000MS   0x06

◆ HEARTRATE11_LS_RATE_200MS

#define HEARTRATE11_LS_RATE_200MS   0x03

◆ HEARTRATE11_LS_RATE_25MS

#define HEARTRATE11_LS_RATE_25MS   0x00

◆ HEARTRATE11_LS_RATE_500MS

#define HEARTRATE11_LS_RATE_500MS   0x04

◆ HEARTRATE11_LS_RATE_50MS

#define HEARTRATE11_LS_RATE_50MS   0x01

◆ HEARTRATE11_LS_RES_13BIT_3p125MS

#define HEARTRATE11_LS_RES_13BIT_3p125MS   0x50

◆ HEARTRATE11_LS_RES_16BIT_25MS

#define HEARTRATE11_LS_RES_16BIT_25MS   0x40

◆ HEARTRATE11_LS_RES_17BIT_50MS

#define HEARTRATE11_LS_RES_17BIT_50MS   0x30

◆ HEARTRATE11_LS_RES_18BIT_100MS

#define HEARTRATE11_LS_RES_18BIT_100MS   0x20

◆ HEARTRATE11_LS_RES_19BIT_200MS

#define HEARTRATE11_LS_RES_19BIT_200MS   0x10

◆ HEARTRATE11_LS_RES_20BIT_400MS

#define HEARTRATE11_LS_RES_20BIT_400MS   0x00

Heart Rate 11 LS_RES_RATE register settings.

Specified LS_RES_RATE register settings of Heart Rate 11 Click driver.

◆ HEARTRATE11_LS_SAI_OFF

#define HEARTRATE11_LS_SAI_OFF   0x00

◆ HEARTRATE11_LS_SAI_ON

#define HEARTRATE11_LS_SAI_ON   0x08

◆ HEARTRATE11_LS_THRES_INT_MODE

#define HEARTRATE11_LS_THRES_INT_MODE   0x00

◆ HEARTRATE11_LS_VAR_INT_MODE

#define HEARTRATE11_LS_VAR_INT_MODE   0x02

◆ HEARTRATE11_POR_STATUS

#define HEARTRATE11_POR_STATUS   0x80

Heart Rate 11 STATUS_0 register settings.

Specified STATUS_0 register settings of Heart Rate 11 Click driver.

◆ HEARTRATE11_PPG_AVG_1

#define HEARTRATE11_PPG_AVG_1   0x00

Heart Rate 11 PPG_AVG register settings.

Specified PPG_AVG register settings of Heart Rate 11 Click driver.

◆ HEARTRATE11_PPG_AVG_16

#define HEARTRATE11_PPG_AVG_16   0x40

◆ HEARTRATE11_PPG_AVG_2

#define HEARTRATE11_PPG_AVG_2   0x10

◆ HEARTRATE11_PPG_AVG_32

#define HEARTRATE11_PPG_AVG_32   0x50

◆ HEARTRATE11_PPG_AVG_4

#define HEARTRATE11_PPG_AVG_4   0x20

◆ HEARTRATE11_PPG_AVG_8

#define HEARTRATE11_PPG_AVG_8   0x30

◆ HEARTRATE11_PPG_AVG_RESERVED

#define HEARTRATE11_PPG_AVG_RESERVED   0x0A

◆ HEARTRATE11_PPG_CH1_CAN_ANA_OFF

#define HEARTRATE11_PPG_CH1_CAN_ANA_OFF   0x00

Heart Rate 11 PPG_CAN_ANA register settings.

Specified PPG_CAN_ANA register settings of Heart Rate 11 Click driver.

◆ HEARTRATE11_PPG_CH1_CAN_ANA_ON

#define HEARTRATE11_PPG_CH1_CAN_ANA_ON   0x04

◆ HEARTRATE11_PPG_CH2_CAN_ANA_OFF

#define HEARTRATE11_PPG_CH2_CAN_ANA_OFF   0x00

◆ HEARTRATE11_PPG_CH2_CAN_ANA_ON

#define HEARTRATE11_PPG_CH2_CAN_ANA_ON   0x04

◆ HEARTRATE11_PPG_DATA_STATUS

#define HEARTRATE11_PPG_DATA_STATUS   0x10

◆ HEARTRATE11_PPG_INT_OFF

#define HEARTRATE11_PPG_INT_OFF   0x00

◆ HEARTRATE11_PPG_INT_ON

#define HEARTRATE11_PPG_INT_ON   0x10

◆ HEARTRATE11_PPG_POW_SAVE_OFF

#define HEARTRATE11_PPG_POW_SAVE_OFF   0x00

Heart Rate 11 PPG_PS_CFG register settings.

Specified PPG_PS_CFG register settings of Heart Rate 11 Click driver.

◆ HEARTRATE11_PPG_POW_SAVE_ON

#define HEARTRATE11_PPG_POW_SAVE_ON   0x40

◆ HEARTRATE11_PPG_PS_GAIN_1

#define HEARTRATE11_PPG_PS_GAIN_1   0x00

Heart Rate 11 PPG_PS_GAIN register settings.

Specified PPG_PS_GAIN register settings of Heart Rate 11 Click driver.

◆ HEARTRATE11_PPG_PS_GAIN_1p5

#define HEARTRATE11_PPG_PS_GAIN_1p5   0x10

◆ HEARTRATE11_PPG_PS_GAIN_2

#define HEARTRATE11_PPG_PS_GAIN_2   0x20

◆ HEARTRATE11_PPG_PS_GAIN_4

#define HEARTRATE11_PPG_PS_GAIN_4   0x30

◆ HEARTRATE11_PPG_PS_GAIN_RESERVED

#define HEARTRATE11_PPG_PS_GAIN_RESERVED   0x09

◆ HEARTRATE11_PPG_PS_OFF

#define HEARTRATE11_PPG_PS_OFF   0x00

◆ HEARTRATE11_PPG_PS_ON

#define HEARTRATE11_PPG_PS_ON   0x01

◆ HEARTRATE11_PPG_PWIDTH_130US

#define HEARTRATE11_PPG_PWIDTH_130US   0x30

Heart Rate 11 PPG_PWIDTH_RATE register settings.

Specified PPG_PWIDTH_RATE register settings of Heart Rate 11 Click driver.

◆ HEARTRATE11_PPG_PWIDTH_247US

#define HEARTRATE11_PPG_PWIDTH_247US   0x40

◆ HEARTRATE11_PPG_PWIDTH_481US

#define HEARTRATE11_PPG_PWIDTH_481US   0x50

◆ HEARTRATE11_PPG_PWIDTH_949US

#define HEARTRATE11_PPG_PWIDTH_949US   0x60

◆ HEARTRATE11_PPG_RATE_0p3125MS

#define HEARTRATE11_PPG_RATE_0p3125MS   0x00

◆ HEARTRATE11_PPG_RATE_0p625MS

#define HEARTRATE11_PPG_RATE_0p625MS   0x01

◆ HEARTRATE11_PPG_RATE_10MS

#define HEARTRATE11_PPG_RATE_10MS   0x06

◆ HEARTRATE11_PPG_RATE_1MS

#define HEARTRATE11_PPG_RATE_1MS   0x02

◆ HEARTRATE11_PPG_RATE_1p25MS

#define HEARTRATE11_PPG_RATE_1p25MS   0x03

◆ HEARTRATE11_PPG_RATE_20MS

#define HEARTRATE11_PPG_RATE_20MS   0x07

◆ HEARTRATE11_PPG_RATE_2p5MS

#define HEARTRATE11_PPG_RATE_2p5MS   0x04

◆ HEARTRATE11_PPG_RATE_5MS

#define HEARTRATE11_PPG_RATE_5MS   0x05

◆ HEARTRATE11_PS_CAN_ANA_OFF

#define HEARTRATE11_PS_CAN_ANA_OFF   0x00

Heart Rate 11 PS_CAN_PULSES register settings.

Specified PS_CAN_PULSES register settings of Heart Rate 11 Click driver.

◆ HEARTRATE11_PS_CAN_ANA_ON

#define HEARTRATE11_PS_CAN_ANA_ON   0x40

◆ HEARTRATE11_PS_CAN_PULSES_RESERVED

#define HEARTRATE11_PS_CAN_PULSES_RESERVED   0x02

◆ HEARTRATE11_PS_HYS_LEVEL

#define HEARTRATE11_PS_HYS_LEVEL ( x)    ( x >> 1 )

◆ HEARTRATE11_PS_INT_LOGIC

#define HEARTRATE11_PS_INT_LOGIC   0x02

◆ HEARTRATE11_PS_INT_OFF

#define HEARTRATE11_PS_INT_OFF   0x00

◆ HEARTRATE11_PS_INT_ON

#define HEARTRATE11_PS_INT_ON   0x01

◆ HEARTRATE11_PS_INT_STATUS

#define HEARTRATE11_PS_INT_STATUS   0x02

◆ HEARTRATE11_PS_IR_LED_CURRENT_RES

#define HEARTRATE11_PS_IR_LED_CURRENT_RES   0x03FF

◆ HEARTRATE11_PS_IR_LED_MAX_CURRENT

#define HEARTRATE11_PS_IR_LED_MAX_CURRENT   250.0

◆ HEARTRATE11_PS_LED

#define HEARTRATE11_PS_LED   0

Heart Rate 11 led current settings.

Specified led current of Heart Rate 11 Click driver.

◆ HEARTRATE11_PS_LOGIC_STATUS

#define HEARTRATE11_PS_LOGIC_STATUS   0x04

◆ HEARTRATE11_PS_MODE

#define HEARTRATE11_PS_MODE   0x00

◆ HEARTRATE11_PS_MOV_AVG_OFF

#define HEARTRATE11_PS_MOV_AVG_OFF   0x00

◆ HEARTRATE11_PS_MOV_AVG_ON

#define HEARTRATE11_PS_MOV_AVG_ON   0x80

Heart Rate 11 PS_MOV_AVG_HYS register settings.

Specified PS_MOV_AVG_HYS register settings of Heart Rate 11 Click driver.

◆ HEARTRATE11_PS_NEW_DATA

#define HEARTRATE11_PS_NEW_DATA   0x01

◆ HEARTRATE11_PS_PERSIST

#define HEARTRATE11_PS_PERSIST ( x)    ( x & 0x0F)

◆ HEARTRATE11_PS_PULSES

#define HEARTRATE11_PS_PULSES ( x)    ( ( x ) & ( 0x07 ) ) << 3 )

◆ HEARTRATE11_PS_PWIDTH_26US

#define HEARTRATE11_PS_PWIDTH_26US   0x00

Heart Rate 11 PS_PWIDTH_RATE register settings.

Specified PS_PWIDTH_RATE register settings of Heart Rate 11 Click driver.

◆ HEARTRATE11_PS_PWIDTH_42US

#define HEARTRATE11_PS_PWIDTH_42US   0x10

◆ HEARTRATE11_PS_PWIDTH_71US

#define HEARTRATE11_PS_PWIDTH_71US   0x20

◆ HEARTRATE11_PS_RATE_100MS

#define HEARTRATE11_PS_RATE_100MS   0x05

◆ HEARTRATE11_PS_RATE_12p5MS

#define HEARTRATE11_PS_RATE_12p5MS   0x02

◆ HEARTRATE11_PS_RATE_200MS

#define HEARTRATE11_PS_RATE_200MS   0x06

◆ HEARTRATE11_PS_RATE_25MS

#define HEARTRATE11_PS_RATE_25MS   0x03

◆ HEARTRATE11_PS_RATE_3p125MS

#define HEARTRATE11_PS_RATE_3p125MS   0x00

◆ HEARTRATE11_PS_RATE_400MS

#define HEARTRATE11_PS_RATE_400MS   0x07

◆ HEARTRATE11_PS_RATE_50MS

#define HEARTRATE11_PS_RATE_50MS   0x04

◆ HEARTRATE11_PS_RATE_6p25MS

#define HEARTRATE11_PS_RATE_6p25MS   0x01

◆ HEARTRATE11_PS_SAI_OFF

#define HEARTRATE11_PS_SAI_OFF   0x00

◆ HEARTRATE11_PS_SAI_ON

#define HEARTRATE11_PS_SAI_ON   0x08

Heart Rate 11 MAIN_CTRL_1 register settings.

Specified MAIN_CTRL_1 register settings of Heart Rate 11 Click driver.

◆ HEARTRATE11_RED_LED

#define HEARTRATE11_RED_LED   2

◆ HEARTRATE11_RED_LED_CURRENT_RES

#define HEARTRATE11_RED_LED_CURRENT_RES   0x01FF

◆ HEARTRATE11_RED_LED_MAX_CURRENT

#define HEARTRATE11_RED_LED_MAX_CURRENT   125.0

◆ HEARTRATE11_RGB_MODE

#define HEARTRATE11_RGB_MODE   0x02

◆ HEARTRATE11_ROUND_TO_NEAREST_INT

#define HEARTRATE11_ROUND_TO_NEAREST_INT   0.5

◆ HEARTRATE11_SPO2_MODE

#define HEARTRATE11_SPO2_MODE   0x04

◆ HEARTRATE11_SW_RESET

#define HEARTRATE11_SW_RESET   0x80

Heart Rate 11 MAIN_CTRL_0 register settings.

Specified MAIN_CTRL_0 register settings of Heart Rate 11 Click driver.

◆ HEARTRATE11_TS_DATA_STATUS

#define HEARTRATE11_TS_DATA_STATUS   0x80

Heart Rate 11 STATUS_1 register settings.

Specified STATUS_1 register settings of Heart Rate 11 Click driver.