33.9.8 Status
Name: | STATUS |
Offset: | 0x0B |
Reset: | 0x01 |
Property: | Read-Synchronized, Write-Synchronized |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
CCBUFV1 | CCBUFV0 | SLAVE | STOP | ||||||
Access | R/W | R/W | R/W | R | |||||
Reset | 0 | 0 | 0 | 1 |
Bits 4, 5 – CCBUFVx Channel x Compare or Capture Buffer Valid
For a compare channel x, the bit x is set when a new value is written to the corresponding CCBUFx register.
The bit x is cleared by writing a '1' to it when CTRLB.LUPD is set, or it is cleared automatically by hardware on UPDATE condition. If clearing this bit manually to force an update of the CCx register, it is necessary to clear the bit two times successively.
For a capture channel x, the bit x is set when a valid capture value is stored in the CCBUFx register. The bit x is cleared automatically when the CCx register is read.
Bit 1 – SLAVE Client Status Flag
Bit 0 – STOP Stop Status Flag
This bit is set when the TC is disabled, on a Stop command, or on an overflow/underflow condition when the One-Shot bit in the Control B Set register (CTRLBSET.ONESHOT) is '1'.
Value | Description |
---|---|
0 | Counter is running. |
1 | Counter is stopped. |