Bit
Name
Reset
Access Description
31
TOPBHFSEL
0
RW
TOPB High frequency value select
Apply High frequency value of TOPB to TOP register. Should be used only when RSTEN in PCNTn_CTRL is set
30
Reserved
To ensure compatibility with future devices, always write bits to 0. More information in
29:26
TCCPRSSEL
0x0
RW
TCC PRS Channel Select
Select PRS channel used as compare and clear trigger.
Value
Mode
Description
0
PRSCH0
PRS Channel 0 selected.
1
PRSCH1
PRS Channel 1 selected.
2
PRSCH2
PRS Channel 2 selected.
3
PRSCH3
PRS Channel 3 selected.
4
PRSCH4
PRS Channel 4 selected.
5
PRSCH5
PRS Channel 5 selected.
6
PRSCH6
PRS Channel 6 selected.
7
PRSCH7
PRS Channel 7 selected.
8
PRSCH8
PRS Channel 8 selected.
9
PRSCH9
PRS Channel 9 selected.
10
PRSCH10
PRS Channel 10 selected.
11
PRSCH11
PRS Channel 11 selected.
25
TCCPRSPOL
0
RW
TCC PRS polarity select
Configure which edge on the PRS input is used to trigger a compare and clear event
Value
Mode
Description
0
RISING
Rising edge on PRS trigger compare and clear event.
1
FALLING
Falling edge on PRS trigger compare and clear event.
24
PRSGATEEN
0
RW
PRS gate enable
When set, the clock input to the pulse counter will be gated when the selected PRS input is the inverse of TCCPRSPOL.
23:22
TCCCOMP
0x0
RW
Triggered compare and clear compare mode
Selects the mode for comparison upon a compare and clear event.
Value
Mode
Description
0
LTOE
Compare match if PCNT_CNT is less than, or equal to PCNT_TOP.
1
GTOE
Compare match if PCNT_CNT is greater than or equal to PCNT_TOP.
2
RANGE
Compare match if PCNT_CNT is less than, or equal to
PCNT_TOP[15:8]], and greater than, or equal to PCNT_TOP[7:0].
21
Reserved
To ensure compatibility with future devices, always write bits to 0. More information in
20:19
TCCPRESC
0x0
RW
Set the LFA prescaler for triggered compare and clear
Selects the prescaler value for LFA compare and clear events
EFM32JG1 Reference Manual
PCNT - Pulse Counter
silabs.com
| Smart. Connected. Energy-friendly.
Preliminary Rev. 0.6 | 378