17.4.2 PCA0MD: PCA Mode
Bit
7
6
5
4
3
2
1
0
Name
CIDL
WDTE
WDLCK
Reserved
CPS
ECF
Access
RW
RW
RW
R
RW
RW
Reset
0
1
0
0
0x0
0
SFR Page = 0x0; SFR Address: 0xD9
Bit
Name
Reset
Access
Description
7
CIDL
0
RW
PCA Counter/Timer Idle Control.
Specifies PCA behavior when CPU is in Idle Mode.
Value
Name
Description
0
NORMAL
PCA continues to function normally while the system controller is in Idle Mode.
1
SUSPEND
PCA operation is suspended while the system controller is in Idle Mode.
6
WDTE
1
RW
Watchdog Timer Enable.
If this bit is set, PCA Module 5 is used as the watchdog timer.
Value
Name
Description
0
DISABLED
Disable Watchdog Timer.
1
ENABLED
Enable PCA Module 5 as the Watchdog Timer.
5
WDLCK
0
RW
Watchdog Timer Lock.
This bit locks/unlocks the Watchdog Timer Enable. When WDLCK is set, the Watchdog Timer may not be disabled until the
next system reset.
Value
Name
Description
0
UNLOCKED
Watchdog Timer Enable unlocked.
1
LOCKED
Watchdog Timer Enable locked.
4
Reserved
Must write reset value.
3:1
CPS
0x0
RW
PCA Counter/Timer Pulse Select.
These bits select the timebase source for the PCA counter.
Value
Name
Description
0x0
SYSCLK_DIV_12
System clock divided by 12.
0x1
SYSCLK_DIV_4
System clock divided by 4.
0x2
T0_OVERFLOW
Timer 0 overflow.
0x3
ECI
High-to-low transitions on ECI (max rate = system clock divided by 4).
0x4
SYSCLK
System clock.
0x5
EXTOSC_DIV_8
External clock divided by 8 (synchronized with the system clock).
0
ECF
0
RW
PCA Counter/Timer Overflow Interrupt Enable.
This bit sets the masking of the PCA Counter/Timer Overflow (CF) interrupt.
EFM8SB2 Reference Manual
Programmable Counter Array (PCA0)
silabs.com
| Smart. Connected. Energy-friendly.
Rev. 0.1 | 177