...the world's most energy friendly microcontrollers
2016-04-28 - Giant Gecko Family - d0053_Rev1.20
631
www.silabs.com
Figure 25.7. Decoder state transition evaluation
ST
i+ 1
_TCONF
ST
i_
TCONF
STATE
i
NEXTSTATE
Ai
NEXTSTATE
Bi
NEXTSTATE
Ai+ 1
NEXTSTATE
Bi+ 1
Generat e PRS
signals and set
int errupt flag
Generat e PRS
signals and set
int errupt flag
Generat e PRS
signals and set
int errupt flag
Generat e PRS
signals and set
int errupt flag
Set DECERR
int errupt 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
Note
If only one transition from a state is used, STx_TCONFA and STx_TCONFB should be
configured equally.
To prevent unnecessary interrupt requests or PRS outputs when the decoder toggles back and forth
between two states, a hysteresis option is available. The hysteresis function is triggered if a type A
transition is preceded by a type B transition, and vice versa. A type A transition is a transition defined in
STx_TCONFA, and a type B transition is a transition defined in STx_TCONFB. When descriptor chaining
is used, a jump to another descriptor will cancel out the hysteresis effect. Figure 25.8 (p. 632) illustrates
how the hysteresis triggers upon state transitions.
Summary of Contents for Giant Gecko EFM32GG
Page 842: ......