29.2.1.1 Input Event Control

There are two input event control commands, PTGWHI and PTGWLO, that wait for a high or low edge on one of the 16 PTGIx inputs. These commands are used in conjunction with a 4-bit OPTION field that specifies which PTGIx is used. Once the specified input transitions in the intended direction, the step queue is incremented and the next step command is evaluated. See Wait for Trigger Input for additional information.