Electronic Components Datasheet Search
HP203B Datasheet(PDF) 14 Page - List of Unclassifed Manufacturers
ETC2 [List of Unclassifed Manufacturers]
HP203B Datasheet(HTML) 14 Page - List of Unclassifed Manufacturers
/ 18 page
14 / 18
6.3 Configure the Interrupts
There are 6 interrupts that can be generated by the device.
Indicates that the pressure (or altitude) measurement is done and the result is ready to read.
Indicate that the temperature measurement is done and the result is ready to read.
Indicate that the pressure (or altitude) value has traversed the middle threshold during the last
Indicate that the temperature value has traversed the middle threshold during the last
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.
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 in the INT_SRC register but the interrupt will not be output to the INT1 pin.
6.3.10 INT_DIR - (Read-only)
The INT_DIR register allows the user to check the details of the traversal or window interrupt events.
For the T_WIN_DIR and the P_WIN_DIR status bits, when the window interrupts happen, if the
temperature or pressure value is above the window, the corresponding status bit is read as 1; if the
value is below the window, the status bit is read as 0.
For the T_TRAV_DIR and the P_TRAV_DIR status bits, when the traversal interrupts happen, if the
temperature, pressure or altitude value has been rising from low to high, the corresponding status bit
Does ALLDATASHEET help your business so far?
[ DONATE ]
All Rights Reserved©
| English :
| Chinese :
| German :
| Japanese :
| Korean :
| Spanish :
| French :
| Italian :
| Polish :
| Vietnamese :