smoke 2.0.0.0
Particle sensing configuration commands

Macros

#define SMOKE_ADCRANGE_MASK   0x9F
 
#define SMOKE_ADCRANGE_2048   0x00
 
#define SMOKE_ADCRANGE_4096   0x20
 
#define SMOKE_ADCRANGE_8192   0x40
 
#define SMOKE_ADCRANGE_16384   0x60
 
#define SMOKE_SAMPLERATE_MASK   0xE3
 
#define SMOKE_SAMPLERATE_50   0x00
 
#define SMOKE_SAMPLERATE_100   0x04
 
#define SMOKE_SAMPLERATE_200   0x08
 
#define SMOKE_SAMPLERATE_400   0x0C
 
#define SMOKE_SAMPLERATE_800   0x10
 
#define SMOKE_SAMPLERATE_1000   0x14
 
#define SMOKE_SAMPLERATE_1600   0x18
 
#define SMOKE_SAMPLERATE_3200   0x1C
 
#define SMOKE_PULSEWIDTH_MASK   0xFC
 
#define SMOKE_PULSEWIDTH_69   0x00
 
#define SMOKE_PULSEWIDTH_118   0x01
 
#define SMOKE_PULSEWIDTH_215   0x02
 
#define SMOKE_PULSEWIDTH_411   0x03
 

Detailed Description

Macro Definition Documentation

◆ SMOKE_ADCRANGE_16384

#define SMOKE_ADCRANGE_16384   0x60

◆ SMOKE_ADCRANGE_2048

#define SMOKE_ADCRANGE_2048   0x00

◆ SMOKE_ADCRANGE_4096

#define SMOKE_ADCRANGE_4096   0x20

◆ SMOKE_ADCRANGE_8192

#define SMOKE_ADCRANGE_8192   0x40

◆ SMOKE_ADCRANGE_MASK

#define SMOKE_ADCRANGE_MASK   0x9F

◆ SMOKE_PULSEWIDTH_118

#define SMOKE_PULSEWIDTH_118   0x01

◆ SMOKE_PULSEWIDTH_215

#define SMOKE_PULSEWIDTH_215   0x02

◆ SMOKE_PULSEWIDTH_411

#define SMOKE_PULSEWIDTH_411   0x03

◆ SMOKE_PULSEWIDTH_69

#define SMOKE_PULSEWIDTH_69   0x00

◆ SMOKE_PULSEWIDTH_MASK

#define SMOKE_PULSEWIDTH_MASK   0xFC

◆ SMOKE_SAMPLERATE_100

#define SMOKE_SAMPLERATE_100   0x04

◆ SMOKE_SAMPLERATE_1000

#define SMOKE_SAMPLERATE_1000   0x14

◆ SMOKE_SAMPLERATE_1600

#define SMOKE_SAMPLERATE_1600   0x18

◆ SMOKE_SAMPLERATE_200

#define SMOKE_SAMPLERATE_200   0x08

◆ SMOKE_SAMPLERATE_3200

#define SMOKE_SAMPLERATE_3200   0x1C

◆ SMOKE_SAMPLERATE_400

#define SMOKE_SAMPLERATE_400   0x0C

◆ SMOKE_SAMPLERATE_50

#define SMOKE_SAMPLERATE_50   0x00

◆ SMOKE_SAMPLERATE_800

#define SMOKE_SAMPLERATE_800   0x10

◆ SMOKE_SAMPLERATE_MASK

#define SMOKE_SAMPLERATE_MASK   0xE3