pac1954 2.0.0.0
|
Settings for registers of PAC1954 Click driver. More...
Settings for registers of PAC1954 Click driver.
#define PAC1954_ALERT_ACTIVE 0 |
PAC1954 Alert Indicator.
Alert indicator of PAC1954 Click driver.
#define PAC1954_ALERT_INACTIVE 1 |
#define PAC1954_ALL_CH_SAMPLE_8SPS_OFF 0 |
#define PAC1954_ALL_CH_SAMPLE_8SPS_ON 1 |
PAC1954 SLW Pin Settings.
Settings for the Slow pin of PAC1954 Click driver.
#define PAC1954_AVG_SEL_DISABLE 0 |
PAC1954 Average Selector.
Selection for averaged or single data used in calculations of PAC1954 Click driver.
#define PAC1954_AVG_SEL_ENABLE 1 |
#define PAC1954_CH_SEL_CH_1 1 |
PAC1954 Channel Selector.
Channel selection of PAC1954 Click driver.
#define PAC1954_CH_SEL_CH_2 2 |
#define PAC1954_CH_SEL_CH_3 3 |
#define PAC1954_CH_SEL_CH_4 4 |
#define PAC1954_CTRLH_BURST_MODE 0xB0 |
#define PAC1954_CTRLH_FAST_MODE 0xA0 |
#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_SINGLE_SHOT_8X 0x90 |
#define PAC1954_CTRLH_SINGLE_SHOT_MODE 0x80 |
#define PAC1954_CTRLH_SLEEP 0xF0 |
#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_CTRLH_SPS_1024 0x40 |
#define PAC1954_CTRLH_SPS_1024_ADAPT_ACC 0x00 |
PAC1954 Control Settings.
Specified setting for the CTRL register of PAC1954 Click driver.
#define PAC1954_CTRLH_SPS_256 0x50 |
#define PAC1954_CTRLH_SPS_256_ADAPT_ACC 0x10 |
#define PAC1954_CTRLH_SPS_64 0x60 |
#define PAC1954_CTRLH_SPS_64_ADAPT_ACC 0x20 |
#define PAC1954_CTRLH_SPS_8 0x70 |
#define PAC1954_CTRLH_SPS_8_ADAPT_ACC 0x30 |
#define PAC1954_CTRLL_ALL_CH_OFF 0xF0 |
#define PAC1954_CTRLL_ALL_CH_ON 0x00 |
#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_DEV_ADDR_0 0x10 |
PAC1954 device address setting.
Specified setting for device slave address selection of PAC1954 Click driver.
#define PAC1954_DEV_ADDR_1 0x1F |
#define PAC1954_DEV_ENABLE 1 |
PAC1954 Device Power Control.
Power control using EN pin of PAC1954 Click driver.
#define PAC1954_DEV_PWR_DWN 0 |
#define PAC1954_MEAS_MODE_BIPOLAR_FSR 1 |
#define PAC1954_MEAS_MODE_BIPOLAR_HALF_FSR 2 |
#define PAC1954_MEAS_MODE_UNIPOLAR_FSR 0 |
PAC1954 Measurement Type Definition.
Type of measurement data of PAC1954 Click driver.
#define PAC1954_MEAS_SEL_I_SENSE 1 |
#define PAC1954_MEAS_SEL_P_SENSE 2 |
#define PAC1954_MEAS_SEL_V_SOURCE 0 |
PAC1954 Measurement Data Selector.
Measurement data selection of PAC1954 Click driver.
#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.
#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_ALERT_MASK 0x20 |
#define PAC1954_SMBUS_AUTO_INC_SKIP_OFF 0x02 |
#define PAC1954_SMBUS_AUTO_INC_SKIP_ON 0x00 |
#define PAC1954_SMBUS_BYTE_COUNT_OFF 0x00 |
#define PAC1954_SMBUS_BYTE_COUNT_ON 0x04 |
#define PAC1954_SMBUS_I2C_HIGH_SPEED 0x01 |
#define PAC1954_SMBUS_INT_PIN_MASK 0x80 |
PAC1954 SMBus Settings.
Specified setting for SMBUS SETTINGS register of PAC1954 Click driver.
#define PAC1954_SMBUS_POR_MASK 0x10 |
#define PAC1954_SMBUS_SLW_PIN_MASK 0x40 |
#define PAC1954_SMBUS_TIMEOUT_OFF 0x00 |
#define PAC1954_SMBUS_TIMEOUT_ON 0x08 |