Bit
Name
Reset
Access Description
Value
Mode
Description
0
DIV1
Compare and clear event each LFA cycle.
1
DIV2
Compare and clear performed on every other LFA cycle.
2
DIV4
Compare and clear performed on every 4th LFA cycle.
3
DIV8
Compare and clear performed on every 8th LFA cycle.
18
Reserved
To ensure compatibility with future devices, always write bits to 0. More information in
17:16
TCCMODE
0x0
RW
Sets the mode for triggered compare and clear
Selects whether compare and clear should be triggered on each LFA clock, or from PRS
Value
Mode
Description
0
DISABLED
Triggered compare and clear not enabled.
1
LFA
Compare and clear performed on each (optionally prescaled) LFA clock
cycle.
2
PRS
Compare and clear performed on positive PRS edges.
15
EDGE
0
RW
Edge Select
Determines the polarity of the incoming edges. This bit should be written when PCNT is in DISABLE mode, otherwise the
behavior is unpredictable. This bit used only in OVSSINGLE, EXTCLKSINGLE and OVSQUAD1X-4X modes.
Value
Mode
Description
0
POS
Positive edges on the PCNTn_S0IN inputs are counted in OVSSINGLE
mode. Does not invert PCNTn_S1IN input in OVSSINGLE and EX-
TCLKSINGLE modes
1
NEG
Negative edges on the PCNTn_S0IN inputs are counted in OVSSIN-
GLE mode. Inverts the PCNTn_S1IN input in OVSSINGLE and EX-
TCLKSINGLE modes
14
CNTDIR
0
RW
Non-Quadrature Mode Counter Direction Control
The direction of the counter must be set in the OVSSINGLE and EXTCLKSINGLE modes. This bit is ignored in EX-
TCLKQUAD mode as the direction is automatically detected.
Value
Mode
Description
0
UP
Up counter mode.
1
DOWN
Down counter mode.
13:12
AUXCNTEV
0x0
RW
Controls when the auxiliary counter counts
Selects whether the auxiliary counter responds to up-count events, down-count events or both
Value
Mode
Description
0
NONE
Never counts.
1
UP
Counts up on up-count events.
2
DOWN
Counts up on down-count events.
3
BOTH
Counts up on both up-count and down-count events.
11:10
CNTEV
0x0
RW
Controls when the counter counts
EFM32JG1 Reference Manual
PCNT - Pulse Counter
silabs.com
| Smart. Connected. Energy-friendly.
Preliminary Rev. 0.6 | 379