SCTimer/PWM Configure the SCT without using states

The SCT can be used as standard counter/timer with external capture inputs and match outputs without using the state logic. To operate the SCT without states, configure the SCT as follows:

  • Write zero to the STATE register (zero is the default).
  • Write zero to the STATELD and STATEV fields in the EVCTRL registers for each event.
  • Write 0x1 to the EVn_STATE register of each event. Writing 0x1 enables the event.

    In effect, the event is allowed to occur in a single state which never changes while the counter is running.