23.5.9 Status
Name: | STATUS |
Offset: | 0x0E |
Reset: | 0x00 |
Property: | - |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
PWMACTB | PWMACTA | CMDRDY | ENRDY | ||||||
Access | R/W | R/W | R | R | |||||
Reset | 0 | 0 | 0 | 0 |
Bits 6, 7 – PWMACT PWM Activity on x
This bit is set by hardware each time the output WO 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.
Bit 1 – CMDRDY 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:
- TCDn.CTRLE SYNCEOC strobe.
- TCDn.CTRLE SYNC strobe.
- TCDn.CTRLE RESTART strobe.
- TCDn.CTRLE SCAPTUREA Capture A strobe.
- TCDn.CTRLE SCAPTUREB Capture B strobe.
- TCDn.CTRLC AUPDATE written to '1' and writing to TCDn.CMPBCLRH register.
Bit 0 – ENRDY Enable Ready
This status bit tells when the ENABLE value in TCDn.CTRLA is synced to the TCD domain and is ready to be written to again.
The following clears the ENRDY bit:
- Writing to the ENABLE bit in TCDn.CTRLA.
- TCDn.CTRLE DISEOC strobe.
- Going into BREAK in an On-Chip Debugging (OCD) session while the Debug Run bit (DBGCTRL) in TCDn.DBGCTRL is not ‘1’.