SLVUCU5 December 2025 UCD91160 , UCD91320
When this bit is set, only one of the AND paths 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 provides a very simple state machine and allows for more complex logical combinations.
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 in the next evaluation cycle. Evaluation of a GPO is only triggered when its input states change; therefore, the state machine cannot be configured as a self-sustaining oscillator.

For example, to configure a GPO in such a way that it is asserted when two GPI pins are both asserted and stay asserted until both GPIs are deasserted, we need to apply an AND operation when the GPO is deasserted and apply an OR operation when the GPO is asserted. This is shown in the following scope image, where waveform 1 is a GPI, 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).