One Shot Mode; Double Mode - Silicon Laboratories EFR32xG21 Wireless Gecko Reference Manual

Hide thumbs Also See for EFR32xG21 Wireless Gecko:
Table of Contents

Advertisement

18.12.2 One Shot Mode

LETIMER operation in ONESHOT Mode with different output modes are shown in
on page
409. In this example, REPMODE in LETIMERn_CTRL is set to ONESHOT, CNTTOPEN also in LETIMERn_CTRL has been
set and LETIMERn_TOP has been written to 3 and LETIMERn_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.
Initial configuration
COMP0
CNT
REP0
Int. flags set
LFACLK
LETIMERn
LETn_O0
UFOA0 = 00
LETn_O0
UFOA0 = 01
LETn_O0
UFOA0 = 10

18.12.3 DOUBLE Mode

LETIMER operation in DOUBLE Mode with both outputs is shown in
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.
silabs.com | Building a more connected world.
3
3
3
3
3
3
3
3
3
0
3
2
1
0
3
2
1
0
3
3
3
3
3
2
2
2
2
UFIF
UFIF
Figure 18.9. LETIMER - One Shot Mode Waveform
UFOA0 = 10
UFOA1 = 10
REP0 = 2
REP1 = 7
START
LETn_O0
LETn_O1
Figure 18.10. LETIMER - Double Mode Waveform
Figure 18.9 LETIMER - One Shot Mode Waveform
Stop
3
3
3
3
3
3
3
3
0
0
0
0
3
2
1
0
1
1
1
1
0
0
0
0
UFIF
REP0IF
Figure 18.10 LETIMER - Double Mode Waveform on page
REP0 = 2
REP0 = 3
REP1 = 3
START
START
Reference Manual
LETIMER - Low Energy Timer
3
3
3
3
3
3
3
3
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Rev. 0.4 | 409
409.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EFR32xG21 Wireless Gecko and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents