pac1921 2.0.0.0

Macros

#define PAC1921_MEASUREMENT_MODE_V_POWER_PIN_CTRL   0x00
 
#define PAC1921_MEASUREMENT_MODE_V_SENSE_FREE_RUN   0x40
 
#define PAC1921_MEASUREMENT_MODE_V_BUS_FREE_RUN   0x80
 
#define PAC1921_MEASUREMENT_MODE_V_POWER_FREE_RUN   0xC0
 
#define PAC1921_MEASUREMENT_MODE_MASK   0xC0
 
#define PAC1921_OUT_PIN_FULL_SCALE_RANGE_3V   0x00
 
#define PAC1921_OUT_PIN_FULL_SCALE_RANGE_2V   0x10
 
#define PAC1921_OUT_PIN_FULL_SCALE_RANGE_1_5_V   0x20
 
#define PAC1921_OUT_PIN_FULL_SCALE_RANGE_1V   0x30
 
#define PAC1921_TIMEOUT_ON   0x08
 
#define PAC1921_TIMEOUT_OFF   0x00
 
#define PAC1921_SLEEP_ON   0x04
 
#define PAC1921_SLEEP_OFF   0x00
 
#define PAC1921_FORCED_READ_MODE_ON   0x02
 
#define PAC1921_FORCED_READ_MODE_OFF   0x00
 
#define PAC1921_FORCED_RECALCULATE_MODE_ON   0x01
 
#define PAC1921_FORCED_RECALCULATE_MODE_OFF   0x00
 

Detailed Description

Macro Definition Documentation

◆ PAC1921_FORCED_READ_MODE_OFF

#define PAC1921_FORCED_READ_MODE_OFF   0x00

◆ PAC1921_FORCED_READ_MODE_ON

#define PAC1921_FORCED_READ_MODE_ON   0x02

◆ PAC1921_FORCED_RECALCULATE_MODE_OFF

#define PAC1921_FORCED_RECALCULATE_MODE_OFF   0x00

◆ PAC1921_FORCED_RECALCULATE_MODE_ON

#define PAC1921_FORCED_RECALCULATE_MODE_ON   0x01

◆ PAC1921_MEASUREMENT_MODE_MASK

#define PAC1921_MEASUREMENT_MODE_MASK   0xC0

◆ PAC1921_MEASUREMENT_MODE_V_BUS_FREE_RUN

#define PAC1921_MEASUREMENT_MODE_V_BUS_FREE_RUN   0x80

◆ PAC1921_MEASUREMENT_MODE_V_POWER_FREE_RUN

#define PAC1921_MEASUREMENT_MODE_V_POWER_FREE_RUN   0xC0

◆ PAC1921_MEASUREMENT_MODE_V_POWER_PIN_CTRL

#define PAC1921_MEASUREMENT_MODE_V_POWER_PIN_CTRL   0x00

◆ PAC1921_MEASUREMENT_MODE_V_SENSE_FREE_RUN

#define PAC1921_MEASUREMENT_MODE_V_SENSE_FREE_RUN   0x40

◆ PAC1921_OUT_PIN_FULL_SCALE_RANGE_1_5_V

#define PAC1921_OUT_PIN_FULL_SCALE_RANGE_1_5_V   0x20

◆ PAC1921_OUT_PIN_FULL_SCALE_RANGE_1V

#define PAC1921_OUT_PIN_FULL_SCALE_RANGE_1V   0x30

◆ PAC1921_OUT_PIN_FULL_SCALE_RANGE_2V

#define PAC1921_OUT_PIN_FULL_SCALE_RANGE_2V   0x10

◆ PAC1921_OUT_PIN_FULL_SCALE_RANGE_3V

#define PAC1921_OUT_PIN_FULL_SCALE_RANGE_3V   0x00

◆ PAC1921_SLEEP_OFF

#define PAC1921_SLEEP_OFF   0x00

◆ PAC1921_SLEEP_ON

#define PAC1921_SLEEP_ON   0x04

◆ PAC1921_TIMEOUT_OFF

#define PAC1921_TIMEOUT_OFF   0x00

◆ PAC1921_TIMEOUT_ON

#define PAC1921_TIMEOUT_ON   0x08