SLVUAW9C September 2016 – February 2020 UCD90320
When this bit is set, only one of the AND path is used at a given time. When the GPO logic result is currently TRUE, AND path 0 is used until the result becomes FALSE. When the GPO logic result is currently FALSE, AND path 1 is used until the result becomes TRUE. This logic provides a very simple state machine and allows for more complex logical combinations.
NOTE
The device initially evaluates AND path 0. If it is TRUE, it continues to evaluate AND path 0. If it is FALSE, it begins evaluating AND path 1.
For example, for a GPO to be asserted if two GPI pins are both asserted and stay asserted until both GPIs are de-asserted, we need to apply an AND operation when the GPO is de-asserted and apply an OR operation when the GPO is asserted. This behavior is shown in Figure 7, where waveform 1 is a GPO, waveform 2 is a GPI, and waveform 3 is a GPO.
This behavior is configured by setting the “State Machine Mode Enable”, configuring AND path 0 as (GPI1’ AND GPI2’)’, and configuring AND path 1 as (GPI1 AND GPI2).