17.4 PCA0 Control Registers
17.4.1 PCA0CN0: PCA Control 0
Bit
7
6
5
4
3
2
1
0
Name
CF
CR
CCF5
CCF4
CCF3
CCF2
CCF1
CCF0
Access
RW
RW
RW
RW
RW
RW
RW
RW
Reset
0
0
0
0
0
0
0
0
SFR Page = 0x0; SFR Address: 0xD8 (bit-addressable)
Bit
Name
Reset
Access
Description
7
CF
0
RW
PCA Counter/Timer Overflow Flag.
Set by hardware when the PCA Counter/Timer overflows from 0xFFFF to 0x0000. When the Counter/Timer Overflow (CF)
interrupt is enabled, setting this bit causes the CPU to vector to the PCA interrupt service routine. This bit is not automati-
cally cleared by hardware and must be cleared by firmware.
6
CR
0
RW
PCA Counter/Timer Run Control.
This bit enables/disables the PCA Counter/Timer.
Value
Name
Description
0
STOP
Stop the PCA Counter/Timer.
1
RUN
Start the PCA Counter/Timer running.
5
CCF5
0
RW
PCA Module 5 Capture/Compare Flag.
This bit is set by hardware when a match or capture occurs. When the CCF5 interrupt is enabled, setting this bit causes the
CPU to vector to the PCA interrupt service routine. This bit is not automatically cleared by hardware and must be cleared
by firmware.
4
CCF4
0
RW
PCA Module 4 Capture/Compare Flag.
This bit is set by hardware when a match or capture occurs. When the CCF4 interrupt is enabled, setting this bit causes the
CPU to vector to the PCA interrupt service routine. This bit is not automatically cleared by hardware and must be cleared
by firmware.
3
CCF3
0
RW
PCA Module 3 Capture/Compare Flag.
This bit is set by hardware when a match or capture occurs. When the CCF3 interrupt is enabled, setting this bit causes the
CPU to vector to the PCA interrupt service routine. This bit is not automatically cleared by hardware and must be cleared
by firmware.
2
CCF2
0
RW
PCA Module 2 Capture/Compare Flag.
This bit is set by hardware when a match or capture occurs. When the CCF2 interrupt is enabled, setting this bit causes the
CPU to vector to the PCA interrupt service routine. This bit is not automatically cleared by hardware and must be cleared
by firmware.
1
CCF1
0
RW
PCA Module 1 Capture/Compare Flag.
This bit is set by hardware when a match or capture occurs. When the CCF1 interrupt is enabled, setting this bit causes the
CPU to vector to the PCA interrupt service routine. This bit is not automatically cleared by hardware and must be cleared
by firmware.
0
CCF0
0
RW
PCA Module 0 Capture/Compare Flag.
This bit is set by hardware when a match or capture occurs. When the CCF0 interrupt is enabled, setting this bit causes the
CPU to vector to the PCA interrupt service routine. This bit is not automatically cleared by hardware and must be cleared
by firmware.
EFM8SB2 Reference Manual
Programmable Counter Array (PCA0)
silabs.com
| Smart. Connected. Energy-friendly.
Rev. 0.1 | 176