CNT
COMP0
3
3
3
2
3
1
3
0
3
3
3
2
3
1
3
0
3
3
3
2
3
1
3
0
3
3
3
2
3
1
3
0
3
3
3
2
3
1
3
0
3
3
3
2
3
1
Initial configuration
UFIF
UFIF
UFIF
UFIF
UFIF
Int. flags set
LFACLK
LETIMERn
LETn_O0
UFOA0 = 01
LETn_O0
UFOA0 = 10
LETn_O0
UFOA0 = 00
3
0
UFIF
3
0
Figure 19.8. LETIMER Simple Waveforms Output
For the example in
Figure 19.9 LETIMER Repeated Counting on page 653
, the One-shot repeat mode has been selected, and LETI-
MERn_REP0 has been written to 3. The resulting behavior is pretty similar to that shown in Figure 6, but in this case, the timer stops
after counting to zero LETIMERn_REP0 times. By using LETIMERn_REP0 the user has full control of the number of pulses/toggles
generated on the output.
CNT
COMP0
3
3
3
2
3
1
3
0
3
3
3
2
3
1
3
0
3
3
3
2
3
1
3
0
Initial configuration
UFIF
UFIF
UFIF
Int. flags set
LFACLK
LETIMERn
LETn_O0
UFOA0 = 01
LETn_O0
UFOA0 = 10
LETn_O0
UFOA0 = 00
REP0
3
3
3
3
2
2
2
2
1
1
1
1
Stop
REP0IF
3
0
0
3
0
0
3
0
0
3
0
0
3
0
0
3
0
0
3
0
0
3
0
0
3
0
0
3
0
0
3
0
0
3
0
0
3
0
3
Figure 19.9. LETIMER Repeated Counting
Using the Double repeat mode, output can be generated on both the LETIMER outputs.
Figure 19.10 LETIMER Dual Output on page
shows an example of this. UFOA0 and UFOA1 in LETIMERn_CTRL are configured for pulse output and the outputs are configured
for low idle polarity. As seen in the figure, the number written to the repeat registers determine the number of pulses generated on each
of the outputs.
EFM32JG1 Reference Manual
LETIMER - Low Energy Timer
silabs.com
| Smart. Connected. Energy-friendly.
Preliminary Rev. 0.6 | 653