pac1954 2.0.0.0
PAC1954 Registers Settings

Settings for registers of PAC1954 Click driver. More...

Macros

#define PAC1954_CTRLH_SPS_1024_ADAPT_ACC   0x00
 PAC1954 Control Settings.
 
#define PAC1954_CTRLH_SPS_256_ADAPT_ACC   0x10
 
#define PAC1954_CTRLH_SPS_64_ADAPT_ACC   0x20
 
#define PAC1954_CTRLH_SPS_8_ADAPT_ACC   0x30
 
#define PAC1954_CTRLH_SPS_1024   0x40
 
#define PAC1954_CTRLH_SPS_256   0x50
 
#define PAC1954_CTRLH_SPS_64   0x60
 
#define PAC1954_CTRLH_SPS_8   0x70
 
#define PAC1954_CTRLH_SINGLE_SHOT_MODE   0x80
 
#define PAC1954_CTRLH_SINGLE_SHOT_8X   0x90
 
#define PAC1954_CTRLH_FAST_MODE   0xA0
 
#define PAC1954_CTRLH_BURST_MODE   0xB0
 
#define PAC1954_CTRLH_SLEEP   0xF0
 
#define PAC1954_CTRLH_INT_PIN_ALERT   0x00
 
#define PAC1954_CTRLH_INT_PIN_DIG_IN   0x04
 
#define PAC1954_CTRLH_INT_PIN_DIG_OUT   0x08
 
#define PAC1954_CTRLH_INT_PIN_SLOW   0x0C
 
#define PAC1954_CTRLH_SLW_PIN_ALERT   0x00
 
#define PAC1954_CTRLH_SLW_PIN_DIG_IN   0x01
 
#define PAC1954_CTRLH_SLW_PIN_DIG_OUT   0x02
 
#define PAC1954_CTRLH_SLW_PIN_SLOW   0x03
 
#define PAC1954_CTRLL_CH1_OFF   0x80
 
#define PAC1954_CTRLL_CH2_OFF   0x40
 
#define PAC1954_CTRLL_CH3_OFF   0x20
 
#define PAC1954_CTRLL_CH4_OFF   0x10
 
#define PAC1954_CTRLL_ALL_CH_OFF   0xF0
 
#define PAC1954_CTRLL_ALL_CH_ON   0x00
 
#define PAC1954_NEG_PWR_FSR_CH1_OFFSET   6
 PAC1954 Measurement Type Offset For Channels.
 
#define PAC1954_NEG_PWR_FSR_CH2_OFFSET   4
 
#define PAC1954_NEG_PWR_FSR_CH3_OFFSET   2
 
#define PAC1954_NEG_PWR_FSR_CH4_OFFSET   0
 
#define PAC1954_SMBUS_INT_PIN_MASK   0x80
 PAC1954 SMBus Settings.
 
#define PAC1954_SMBUS_SLW_PIN_MASK   0x40
 
#define PAC1954_SMBUS_ALERT_MASK   0x20
 
#define PAC1954_SMBUS_POR_MASK   0x10
 
#define PAC1954_SMBUS_TIMEOUT_OFF   0x00
 
#define PAC1954_SMBUS_TIMEOUT_ON   0x08
 
#define PAC1954_SMBUS_BYTE_COUNT_OFF   0x00
 
#define PAC1954_SMBUS_BYTE_COUNT_ON   0x04
 
#define PAC1954_SMBUS_AUTO_INC_SKIP_ON   0x00
 
#define PAC1954_SMBUS_AUTO_INC_SKIP_OFF   0x02
 
#define PAC1954_SMBUS_I2C_HIGH_SPEED   0x01
 
#define PAC1954_MEAS_SEL_V_SOURCE   0
 PAC1954 Measurement Data Selector.
 
#define PAC1954_MEAS_SEL_I_SENSE   1
 
#define PAC1954_MEAS_SEL_P_SENSE   2
 
#define PAC1954_CH_SEL_CH_1   1
 PAC1954 Channel Selector.
 
#define PAC1954_CH_SEL_CH_2   2
 
#define PAC1954_CH_SEL_CH_3   3
 
#define PAC1954_CH_SEL_CH_4   4
 
#define PAC1954_AVG_SEL_DISABLE   0
 PAC1954 Average Selector.
 
#define PAC1954_AVG_SEL_ENABLE   1
 
#define PAC1954_MEAS_MODE_UNIPOLAR_FSR   0
 PAC1954 Measurement Type Definition.
 
#define PAC1954_MEAS_MODE_BIPOLAR_FSR   1
 
#define PAC1954_MEAS_MODE_BIPOLAR_HALF_FSR   2
 
#define PAC1954_ALL_CH_SAMPLE_8SPS_ON   1
 PAC1954 SLW Pin Settings.
 
#define PAC1954_ALL_CH_SAMPLE_8SPS_OFF   0
 
#define PAC1954_DEV_ENABLE   1
 PAC1954 Device Power Control.
 
#define PAC1954_DEV_PWR_DWN   0
 
#define PAC1954_ALERT_ACTIVE   0
 PAC1954 Alert Indicator.
 
#define PAC1954_ALERT_INACTIVE   1
 
#define PAC1954_DEV_ADDR_0   0x10
 PAC1954 device address setting.
 
#define PAC1954_DEV_ADDR_1   0x1F
 

Detailed Description

Settings for registers of PAC1954 Click driver.

Macro Definition Documentation

◆ PAC1954_ALERT_ACTIVE

#define PAC1954_ALERT_ACTIVE   0

PAC1954 Alert Indicator.

Alert indicator of PAC1954 Click driver.

◆ PAC1954_ALERT_INACTIVE

#define PAC1954_ALERT_INACTIVE   1

◆ PAC1954_ALL_CH_SAMPLE_8SPS_OFF

#define PAC1954_ALL_CH_SAMPLE_8SPS_OFF   0

◆ PAC1954_ALL_CH_SAMPLE_8SPS_ON

#define PAC1954_ALL_CH_SAMPLE_8SPS_ON   1

PAC1954 SLW Pin Settings.

Settings for the Slow pin of PAC1954 Click driver.

◆ PAC1954_AVG_SEL_DISABLE

#define PAC1954_AVG_SEL_DISABLE   0

PAC1954 Average Selector.

Selection for averaged or single data used in calculations of PAC1954 Click driver.

◆ PAC1954_AVG_SEL_ENABLE

#define PAC1954_AVG_SEL_ENABLE   1

◆ PAC1954_CH_SEL_CH_1

#define PAC1954_CH_SEL_CH_1   1

PAC1954 Channel Selector.

Channel selection of PAC1954 Click driver.

◆ PAC1954_CH_SEL_CH_2

#define PAC1954_CH_SEL_CH_2   2

◆ PAC1954_CH_SEL_CH_3

#define PAC1954_CH_SEL_CH_3   3

◆ PAC1954_CH_SEL_CH_4

#define PAC1954_CH_SEL_CH_4   4

◆ PAC1954_CTRLH_BURST_MODE

#define PAC1954_CTRLH_BURST_MODE   0xB0

◆ PAC1954_CTRLH_FAST_MODE

#define PAC1954_CTRLH_FAST_MODE   0xA0

◆ PAC1954_CTRLH_INT_PIN_ALERT

#define PAC1954_CTRLH_INT_PIN_ALERT   0x00

◆ PAC1954_CTRLH_INT_PIN_DIG_IN

#define PAC1954_CTRLH_INT_PIN_DIG_IN   0x04

◆ PAC1954_CTRLH_INT_PIN_DIG_OUT

#define PAC1954_CTRLH_INT_PIN_DIG_OUT   0x08

◆ PAC1954_CTRLH_INT_PIN_SLOW

#define PAC1954_CTRLH_INT_PIN_SLOW   0x0C

◆ PAC1954_CTRLH_SINGLE_SHOT_8X

#define PAC1954_CTRLH_SINGLE_SHOT_8X   0x90

◆ PAC1954_CTRLH_SINGLE_SHOT_MODE

#define PAC1954_CTRLH_SINGLE_SHOT_MODE   0x80

◆ PAC1954_CTRLH_SLEEP

#define PAC1954_CTRLH_SLEEP   0xF0

◆ PAC1954_CTRLH_SLW_PIN_ALERT

#define PAC1954_CTRLH_SLW_PIN_ALERT   0x00

◆ PAC1954_CTRLH_SLW_PIN_DIG_IN

#define PAC1954_CTRLH_SLW_PIN_DIG_IN   0x01

◆ PAC1954_CTRLH_SLW_PIN_DIG_OUT

#define PAC1954_CTRLH_SLW_PIN_DIG_OUT   0x02

◆ PAC1954_CTRLH_SLW_PIN_SLOW

#define PAC1954_CTRLH_SLW_PIN_SLOW   0x03

◆ PAC1954_CTRLH_SPS_1024

#define PAC1954_CTRLH_SPS_1024   0x40

◆ PAC1954_CTRLH_SPS_1024_ADAPT_ACC

#define PAC1954_CTRLH_SPS_1024_ADAPT_ACC   0x00

PAC1954 Control Settings.

Specified setting for the CTRL register of PAC1954 Click driver.

◆ PAC1954_CTRLH_SPS_256

#define PAC1954_CTRLH_SPS_256   0x50

◆ PAC1954_CTRLH_SPS_256_ADAPT_ACC

#define PAC1954_CTRLH_SPS_256_ADAPT_ACC   0x10

◆ PAC1954_CTRLH_SPS_64

#define PAC1954_CTRLH_SPS_64   0x60

◆ PAC1954_CTRLH_SPS_64_ADAPT_ACC

#define PAC1954_CTRLH_SPS_64_ADAPT_ACC   0x20

◆ PAC1954_CTRLH_SPS_8

#define PAC1954_CTRLH_SPS_8   0x70

◆ PAC1954_CTRLH_SPS_8_ADAPT_ACC

#define PAC1954_CTRLH_SPS_8_ADAPT_ACC   0x30

◆ PAC1954_CTRLL_ALL_CH_OFF

#define PAC1954_CTRLL_ALL_CH_OFF   0xF0

◆ PAC1954_CTRLL_ALL_CH_ON

#define PAC1954_CTRLL_ALL_CH_ON   0x00

◆ PAC1954_CTRLL_CH1_OFF

#define PAC1954_CTRLL_CH1_OFF   0x80

◆ PAC1954_CTRLL_CH2_OFF

#define PAC1954_CTRLL_CH2_OFF   0x40

◆ PAC1954_CTRLL_CH3_OFF

#define PAC1954_CTRLL_CH3_OFF   0x20

◆ PAC1954_CTRLL_CH4_OFF

#define PAC1954_CTRLL_CH4_OFF   0x10

◆ PAC1954_DEV_ADDR_0

#define PAC1954_DEV_ADDR_0   0x10

PAC1954 device address setting.

Specified setting for device slave address selection of PAC1954 Click driver.

◆ PAC1954_DEV_ADDR_1

#define PAC1954_DEV_ADDR_1   0x1F

◆ PAC1954_DEV_ENABLE

#define PAC1954_DEV_ENABLE   1

PAC1954 Device Power Control.

Power control using EN pin of PAC1954 Click driver.

◆ PAC1954_DEV_PWR_DWN

#define PAC1954_DEV_PWR_DWN   0

◆ PAC1954_MEAS_MODE_BIPOLAR_FSR

#define PAC1954_MEAS_MODE_BIPOLAR_FSR   1

◆ PAC1954_MEAS_MODE_BIPOLAR_HALF_FSR

#define PAC1954_MEAS_MODE_BIPOLAR_HALF_FSR   2

◆ PAC1954_MEAS_MODE_UNIPOLAR_FSR

#define PAC1954_MEAS_MODE_UNIPOLAR_FSR   0

PAC1954 Measurement Type Definition.

Type of measurement data of PAC1954 Click driver.

◆ PAC1954_MEAS_SEL_I_SENSE

#define PAC1954_MEAS_SEL_I_SENSE   1

◆ PAC1954_MEAS_SEL_P_SENSE

#define PAC1954_MEAS_SEL_P_SENSE   2

◆ PAC1954_MEAS_SEL_V_SOURCE

#define PAC1954_MEAS_SEL_V_SOURCE   0

PAC1954 Measurement Data Selector.

Measurement data selection of PAC1954 Click driver.

◆ PAC1954_NEG_PWR_FSR_CH1_OFFSET

#define PAC1954_NEG_PWR_FSR_CH1_OFFSET   6

PAC1954 Measurement Type Offset For Channels.

Specified setting for NEG_PWR_FSR register of PAC1954 Click driver.

◆ PAC1954_NEG_PWR_FSR_CH2_OFFSET

#define PAC1954_NEG_PWR_FSR_CH2_OFFSET   4

◆ PAC1954_NEG_PWR_FSR_CH3_OFFSET

#define PAC1954_NEG_PWR_FSR_CH3_OFFSET   2

◆ PAC1954_NEG_PWR_FSR_CH4_OFFSET

#define PAC1954_NEG_PWR_FSR_CH4_OFFSET   0

◆ PAC1954_SMBUS_ALERT_MASK

#define PAC1954_SMBUS_ALERT_MASK   0x20

◆ PAC1954_SMBUS_AUTO_INC_SKIP_OFF

#define PAC1954_SMBUS_AUTO_INC_SKIP_OFF   0x02

◆ PAC1954_SMBUS_AUTO_INC_SKIP_ON

#define PAC1954_SMBUS_AUTO_INC_SKIP_ON   0x00

◆ PAC1954_SMBUS_BYTE_COUNT_OFF

#define PAC1954_SMBUS_BYTE_COUNT_OFF   0x00

◆ PAC1954_SMBUS_BYTE_COUNT_ON

#define PAC1954_SMBUS_BYTE_COUNT_ON   0x04

◆ PAC1954_SMBUS_I2C_HIGH_SPEED

#define PAC1954_SMBUS_I2C_HIGH_SPEED   0x01

◆ PAC1954_SMBUS_INT_PIN_MASK

#define PAC1954_SMBUS_INT_PIN_MASK   0x80

PAC1954 SMBus Settings.

Specified setting for SMBUS SETTINGS register of PAC1954 Click driver.

◆ PAC1954_SMBUS_POR_MASK

#define PAC1954_SMBUS_POR_MASK   0x10

◆ PAC1954_SMBUS_SLW_PIN_MASK

#define PAC1954_SMBUS_SLW_PIN_MASK   0x40

◆ PAC1954_SMBUS_TIMEOUT_OFF

#define PAC1954_SMBUS_TIMEOUT_OFF   0x00

◆ PAC1954_SMBUS_TIMEOUT_ON

#define PAC1954_SMBUS_TIMEOUT_ON   0x08