English
Language : 

HP206C Datasheet, PDF (13/17 Pages) List of Unclassifed Manufacturers – PRECISION BAROMETER AND ALTIMETER SENSOR
DataSheet
HP206C
This register stores the 8-bit temperature lower bound threshold for event detection. The data is in 2’s
complement format and the unit is in ℃.
6.2.7 Improper Setting of Thresholds
Improperly setting the thresholds, such as setting the lower bound threshold to be larger than the upper
bound threshold, will lead to unexpected behavior of the device. It is recommended for the user to check
the status of the TH_ERR bit in the INT_SRC register after setting the thresholds into the device. Logic 1
of this bit indicates that improper setting of the thresholds occurs.
6.3 Configure the Interrupts
There are 6 interrupts that can be generated by the device. They are:
6.3.1 PA_RDY
Indicates that the pressure (or altitude) measurement is done and the result is ready to read.
6.3.2 T_RDY
Indicate that the temperature measurement is done and the result is ready to read.
6.3.3 PA_TRAV
Indicate that the pressure (or altitude) value has traversed the middle threshold during the last
measurement.
6.3.4 T_TRAV
Indicate that the temperature value has traversed the middle threshold during the last measurement.
6.3.5 PA_WIN
Indicate that the pressure (or altitude) value locates outside the pre-defined window (the value in between
the upper bound and lower bound thresholds) during the last measurement.
6.3.6 T_WIN
Indicate that the temperature value locates outside the pre-defined window (the value in between the
upper bound and lower bound thresholds) during the last measurement.
The interrupt names prefixed by a ‘PA’ relate to the pressure (or altitude) measurement. The interrupt
names prefixed by a ‘T’ relate to the temperature measurement. These interrupts are all active-high and
will remain high until the interrupt-clearing conditions happen. The interrupt-clearing conditions are that
the device has received a new ADC result-reading command or a new ADC conversion command. There
are three registers available for the interrupt controls as shown below.
6.3.7 INT_EN - (RW)
The INT_EN register allows the user to disable/enable each of the 6 interrupts (0: disable, 1: enable). When
the users need enable the traversal or window interrupt, they must also enable the corresponding
PA_RDY_EN or T_RDY_EN bit.
6.3.8 INT_CFG - (RW)
The INT_CFG register allows the user to select whether to output the interrupts from the INT1 pin (0: do not
output, 1: output). The register also contains a control bit ‘PA_MODE’ that selects whether the event
detection parameters and the interrupts registers prefixed by a ‘PA_’ corresponds to the pressure or the
altitude measurement (0: pressure, 1: altitude).
6.3.9 INT_SRC - (Read-only)
The INT_SRC register contains the interrupt flags that allow the user to know the interrupts status, as well
as a device status bit ‘DEV_RDY’ that tells whether the device is ready for access or not. The device is
ready when it is in the sleep state and is not performing the power-up sequence, the data conversions, and
any other command-based operations. The external MCU shall only access to the device while the device
is ready (DEV_RDY = 1).
If the INT_CFG bit is set to 0 while the INT_EN bit is set to 1, the corresponding interrupt flag will appear
HP206C_DataSheet_EN_V2.0
www.hoperf.com
13 / 17