Status

Name:
STATUS
Offset:
0x0E
Reset:
0x00
Access:
-
Bit76543210
PWMACTBPWMACTACMDRDYENRDY
AccessR/WR/WRR
Reset0000

Bit 1 – CMDRDY: Command Ready

Command Ready

This status bit tells when a command is synced to the TCD domain and the system is ready to receive new commands.

The following clears the CMDRDY bit:
  1. 1.TCD.CTRLE SYNCEOC strobe
  2. 2.TCD.CTRLE SYNC strobe
  3. 3.TCD.CTRLE RESTART strobe
  4. 4.TCD.CTRLE SCAPTUREA Capture A strobe
  5. 5.TCD.CTRLE SCAPTUREB Capture B strobe
  6. 6.TCD.CTRLC AUPDATE written to '1' and writing to TCD.CMPBCLRH register

Bit 0 – ENRDY: Enable Ready

Enable Ready

This status bit tells when the ENABLE value in TCD.CTRLA is synced to the TCD domain, and is ready to be written to again.

The following clears the ENRDY bit:
  1. 1.Writing to the ENABLE bit in (TCD.CTRLA
  2. 2.TCD.CTRLE DISEOC strobe
  3. 3.Going to break in an On-Chip Debugging (OCD) session with and the Debug Run bit (DBGCTRL) in TCD.DBGCTRL is not '1'

Bits 6, 7 – PWMACT: PWM Activity on x

PWM Activity on x

This bit is set by hardware each time the output WO1 toggles from 0 to 1 or from 1 to 0.

This status bit must be cleared by software by writing a '1' to it before new PWM activity can be detected.