
166
XMEGA A [MANUAL]
8077I–AVR–11/2012
Bit 3:0 – EVSEL[3:0]:Timer Event Source Select
These bits select the event channel source for the timer/counter. For the selected event channel to have any effect, the
event action bits (EVACT) must be set according to
Table 14-6 on page 166. When the event action is set to a capture
operation, the selected event channel n will be the event channel source for CC channel A, and event channel (n+1)%8,
(n+2)%8, and (n+3)%8 will be the event channel source for CC channel B, C, and D.
Table 14-6. Timer event source selection.
14.12.5 CTRLE – Control register E
Bit 7:2 – Reserved
These bits are unused and reserved for future use. For compatibility with future devices, always write these bits to zero
when this register is written.
Bit 1:0 – BYTEM[1:0]: Byte Mode
Table 14-7. Clock select.
EVSEL[3:0]
Group configuration
Event source
0000
OFF
None
0001
Reserved
0010
Reserved
0011
Reserved
0100
Reserved
0101
Reserved
0110
Reserved
0111
Reserved
1nnn
CHn
Event channel n, n={0,...,7}
Bit
76543
210
+0x04
–
BYTEM[1:0]
Read/Write
R
RRRR
RR
R/W
Initial Value
00000
000
BYTEM[1:0]
Group Configuration
Description
00
NORMAL
Timer/counter is set to normal mode (timer/counter type 0)
01
BYTEMODE
Upper byte of the counter (CNTH) will be set to zero after each counter
clock cycle
10
SPLITMODE
Timer/counter 0 is split into two 8-bit timer/counters (timer/counter type 2)
11
Reserved