ST
i+1
_TCONF
ST
i_
TCONF
STATE
i
NEXTSTATE
Ai
NEXTSTATE
Bi
NEXTSTATE
Ai+1
NEXTSTATE
Bi+1
Generate PRS
signals and set
interrupt flag
Generate PRS
signals and set
interrupt flag
Generate PRS
signals and set
interrupt flag
Generate PRS
signals and set
interrupt flag
Set DECERR
interrupt flag
SENSORSTATE & ~MASK
Ai
=
COMP
Ai
& ~MASK
Ai
Y
N
SENSORSTATE & ~MASK
Bi
=
COMP
Bi
& ~MASK
Bi
Y
N
CHAIN
i
= 1
Y
N
SENSORSTATE & ~MASK
Ai+1
=
COMP
Ai+1
& ~MASK
Ai+1
Y
N
SENSORSTATE & ~MASK
Bi+1
=
COMP
Bi+1
& ~MASK
Bi+1
Y
N
SENSORSTATE changed &&
ERRCHK=1
Y
N
CHAIN
i+1
= 1
Y
N
Figure 28.11. Decoder State Transition Evaluation
The DECODER has a PRS output named DECCMP. This output can be used to indicate which state, or subset of states, the decoder is
currently in. This PRS output is enabled by setting DECCMPEN in PRSCTRL, and configured through DECCMPMASK and DECCMPV-
AL in PRSCTRL. The value of this PRS output is given by
Figure 28.12 DECCMP PRS Output on page 943
Reference Manual
LESENSE - Low Energy Sensor Interface
silabs.com
| Building a more connected world.
Rev. 1.1 | 942