English
Language : 

EFM32WG Datasheet, PDF (525/834 Pages) List of Unclassifed Manufacturers – The EFM32WG Wonder Gecko is the ideal choice for demanding 8-, 16-, and 32-bit energy sensitive applications.
...the world's most energy friendly microcontrollers
Table 20.1. TIMER Counter Response in X2 Decoding Mode
Channel B
0
1
Increment
Decrement
Rising
Channel A
Decrement
Increment
Falling
Figure 20.8. TIMER X2 Decoding Mode
Channel A
Channel B
CNT 3 4
56
78
876 54 3 2
20.3.1.6.2 X4 Decoding Mode
In X4 Decoding mode, the counter increments or decrements on every edge of Channel A and Channel
B, see Figure 20.9 (p. 525) and Table 20.2 (p. 525) .
Table 20.2. TIMER Counter Response in X4 Decoding Mode
Opposite Channel
Channel A = 0
Channel A = 1
Channel B = 0
Channel B = 1
Channel A
Rising
Falling
Increment
Decrement
Decrement
Increment
Channel B
Rising
Falling
Decrement
Increment
Increment
Decrement
Figure 20.9. TIMER X4 Decoding Mode
Channel A
Channel B
CNT 2 3 4 5 6 7 8 9 10 11
11 10 9 8 7 6 5 4 3 2
20.3.1.6.3 TIMER Rotational Position
To calculate a position Equation 20.1 (p. 525) can be used.
TIMER Rotational Position Equation
pos° = (CNT/X x N) x 360°
(20.1)
where X = Encoding type and N = Number of pulses per revolution.
20.3.2 Compare/Capture Channels
The Timer contains 3 Compare/Capture channels, which can be configured in the following modes:
1. Input Capture
2. Output Compare
2013-05-08 - Wonder Gecko Family - d0233_Rev0.50
525
www.energymicro.com