...the world's most energy friendly microcontrollers
2014-07-02 - Tiny Gecko Family - d0034_Rev1.20
309
www.silabs.com
Bit
Name
Reset
Access
Description
Value
Description
1
A compare match on RTC compare channel 1 starts the LETIMER if the LETIMER is not already started
10
RTCC0TEN
0
RW
RTC Compare 0 Trigger Enable
Allows the LETIMER to be started on a compare match on RTC compare channel 0.
Value
Description
0
LETIMER is not affected by RTC compare channel 0
1
A compare match on RTC compare channel 0 starts the LETIMER if the LETIMER is not already started
9
COMP0TOP
0
RW
Compare Value 0 Is Top Value
When set, the counter is cleared in the clock cycle after a compare match with compare channel 0.
Value
Description
0
The top value of the LETIMER is 65535 (0xFFFF)
1
The top value of the LETIMER is given by COMP0
8
BUFTOP
0
RW
Buffered Top
Set to load COMP1 into COMP0 when REP0 reaches 0, allowing a buffered top value
Value
Description
0
COMP0 is only written by software
1
COMP0 is set to COMP1 when REP0 reaches 0
7
OPOL1
0
RW
Output 1 Polarity
Defines the idle value of output 1.
6
OPOL0
0
RW
Output 0 Polarity
Defines the idle value of output 0.
5:4
UFOA1
0x0
RW
Underflow Output Action 1
Defines the action on LETn_O1 on a LETIMER underflow.
Value
Mode
Description
0
NONE
LETn_O1 is held at its idle value as defined by OPOL1.
1
TOGGLE
LETn_O1 is toggled on CNT underflow.
2
PULSE
LETn_O1 is held active for one LFACLK
LETIMER0
clock cycle on CNT underflow. The
output then returns to its idle value as defined by OPOL1.
3
PWM
LETn_O1 is set idle on CNT underflow, and active on compare match with COMP1
3:2
UFOA0
0x0
RW
Underflow Output Action 0
Defines the action on LETn_O0 on a LETIMER underflow.
Value
Mode
Description
0
NONE
LETn_O0 is held at its idle value as defined by OPOL0.
1
TOGGLE
LETn_O0 is toggled on CNT underflow.
2
PULSE
LETn_O0 is held active for one LFACLK
LETIMER0
clock cycle on CNT underflow. The
output then returns to its idle value as defined by OPOL0.
3
PWM
LETn_O0 is set idle on CNT underflow, and active on compare match with COMP1
1:0
REPMODE
0x0
RW
Repeat Mode
Allows the repeat counter to be enabled and disabled.
Value
Mode
Description
0
FREE
When started, the LETIMER counts down until it is stopped by software.
1
ONESHOT
The counter counts REP0 times. When REP0 reaches zero, the counter stops.
2
BUFFERED
The counter counts REP0 times. If REP1 has been written, it is loaded into REP0 when
REP0 reaches zero. Else the counter stops
3
DOUBLE
Both REP0 and REP1 are decremented when the LETIMER wraps around. The
LETIMER counts until both REP0 and REP1 are zero
Summary of Contents for EFM32TG
Page 543: ......