19.3.3.8 PRS Input Triggers
The LETIMER can be configured to start, stop, and/or clear based on PRS inputs. The diagram showing the functions of the PRS input
triggers is shown in
Figure 19.7 LETIMER PRS input triggers. on page 651
There are 12 PRS inputs to the LETIMER. PRSSTARTEN, PRSSTOPEN, and PRSCLEAREN are used to enable starting, stopping,
and/or clearing the LETIMER through the PRS inputs. PRSSTARTSEL, PRSSTOPSEL, and PRSCLEARSEL selects which PRS inputs
are used to start, stop, and/or clear the LETIMER. Finally, PRSSTARTMODE, PRSSTOPMODE, and PRSCLEARMODE select which
edge or edge(s) can trigger the start, stop, and/or clear action.
PRS_IN[11:0]
PRSSTARTSEL
LFACLK
LETIMERn
Syncronizer
Edge Detect
PRSSTARTMODE
None
Rising
Falling
Both
PRS_START
PRS_IN[11:0]
PRSSTOPSEL
LFACLK
LETIMERn
Syncronizer
Edge Detect
PRSSTOPMODE
None
Rising
Falling
Both
PRS_STOP
PRS_IN[11:0]
PRSCLEARSEL
LFACLK
LETIMERn
Syncronizer
Edge Detect
PRSCLEARMODE
None
Rising
Falling
Both
PRS_CLEAR
PRSSTARTEN
PRSSTOPEN
PRSCLEAREN
Figure 19.7. LETIMER PRS input triggers.
19.3.3.9 Debug
If DEBUGRUN in LETIMERn_CTRL is cleared, the LETIMER automatically stops counting when the CPU is halted during a debug ses-
sion, and resumes operation when the CPU continues. Because of synchronization, the LETIMER is halted two clock cycles after the
CPU is halted, and continues running two clock cycles after the CPU continues. RUNNING in LETIMERn_STATUS is not cleared when
the LETIMER stops because of a debug-session.
Set DEBUGRUN in LETIMERn_CTRL to allow the LETIMER to continue counting even when the CPU is halted in debug mode.
EFM32JG1 Reference Manual
LETIMER - Low Energy Timer
silabs.com
| Smart. Connected. Energy-friendly.
Preliminary Rev. 0.6 | 651