heartrate4 2.0.0.0
Particle sensing configuration commands

Macros

#define HEARTRATE4_ADCRANGE_MASK   0x9F
 
#define HEARTRATE4_ADCRANGE_2048   0x00
 
#define HEARTRATE4_ADCRANGE_4096   0x20
 
#define HEARTRATE4_ADCRANGE_8192   0x40
 
#define HEARTRATE4_ADCRANGE_16384   0x60
 
#define HEARTRATE4_SAMPLERATE_MASK   0xE3
 
#define HEARTRATE4_SAMPLERATE_50   0x00
 
#define HEARTRATE4_SAMPLERATE_100   0x04
 
#define HEARTRATE4_SAMPLERATE_200   0x08
 
#define HEARTRATE4_SAMPLERATE_400   0x0C
 
#define HEARTRATE4_SAMPLERATE_800   0x10
 
#define HEARTRATE4_SAMPLERATE_1000   0x14
 
#define HEARTRATE4_SAMPLERATE_1600   0x18
 
#define HEARTRATE4_SAMPLERATE_3200   0x1C
 
#define HEARTRATE4_PULSEWIDTH_MASK   0xFC
 
#define HEARTRATE4_PULSEWIDTH_69   0x00
 
#define HEARTRATE4_PULSEWIDTH_118   0x01
 
#define HEARTRATE4_PULSEWIDTH_215   0x02
 
#define HEARTRATE4_PULSEWIDTH_411   0x03
 

Detailed Description

Macro Definition Documentation

◆ HEARTRATE4_ADCRANGE_16384

#define HEARTRATE4_ADCRANGE_16384   0x60

◆ HEARTRATE4_ADCRANGE_2048

#define HEARTRATE4_ADCRANGE_2048   0x00

◆ HEARTRATE4_ADCRANGE_4096

#define HEARTRATE4_ADCRANGE_4096   0x20

◆ HEARTRATE4_ADCRANGE_8192

#define HEARTRATE4_ADCRANGE_8192   0x40

◆ HEARTRATE4_ADCRANGE_MASK

#define HEARTRATE4_ADCRANGE_MASK   0x9F

◆ HEARTRATE4_PULSEWIDTH_118

#define HEARTRATE4_PULSEWIDTH_118   0x01

◆ HEARTRATE4_PULSEWIDTH_215

#define HEARTRATE4_PULSEWIDTH_215   0x02

◆ HEARTRATE4_PULSEWIDTH_411

#define HEARTRATE4_PULSEWIDTH_411   0x03

◆ HEARTRATE4_PULSEWIDTH_69

#define HEARTRATE4_PULSEWIDTH_69   0x00

◆ HEARTRATE4_PULSEWIDTH_MASK

#define HEARTRATE4_PULSEWIDTH_MASK   0xFC

◆ HEARTRATE4_SAMPLERATE_100

#define HEARTRATE4_SAMPLERATE_100   0x04

◆ HEARTRATE4_SAMPLERATE_1000

#define HEARTRATE4_SAMPLERATE_1000   0x14

◆ HEARTRATE4_SAMPLERATE_1600

#define HEARTRATE4_SAMPLERATE_1600   0x18

◆ HEARTRATE4_SAMPLERATE_200

#define HEARTRATE4_SAMPLERATE_200   0x08

◆ HEARTRATE4_SAMPLERATE_3200

#define HEARTRATE4_SAMPLERATE_3200   0x1C

◆ HEARTRATE4_SAMPLERATE_400

#define HEARTRATE4_SAMPLERATE_400   0x0C

◆ HEARTRATE4_SAMPLERATE_50

#define HEARTRATE4_SAMPLERATE_50   0x00

◆ HEARTRATE4_SAMPLERATE_800

#define HEARTRATE4_SAMPLERATE_800   0x10

◆ HEARTRATE4_SAMPLERATE_MASK

#define HEARTRATE4_SAMPLERATE_MASK   0xE3