16.5.2.4.3 Software Trigger

A new PWM cycle can be initiated in software by writing a ‘1’ to the TRSET bit in the PGxSTAT register. An existing PWM cycle can be canceled by writing a ‘1’ to the TRCLR bit in PGxSTAT. When the TRCLR bit is written, the PWM time base is reset and the PWM outputs associated with the PWM generator return to their idle states.

For TRGMOD[1:0] = 0b00, TRSET is ignored until TRIG is detected as cleared. For TRGMOD[1:0] = 0b01, TRSET is registered when set, thus causing the next set of operations (burst). Note that the content of TRGCNT[2:0] is unaffected by the state of TRSET when TRIG remains set.