15.10.10 HCNT – High-byte Count register
15.10.11 LPER – Low-byte Period register
15.10.12 HPER – High-byte Period register
15.10.13 LCMPx – Low-byte Compare register x
8331B–AVR–03/12
Bit
7
+0x21
Read/Write
R/W
R/W
Initial Value
0
• Bit 7:0 – HCNT[7:0]
HCNT contains the eight-bit counter value for the high-byte timer/counter. The CPU and DMA
write accesses have priority over count, clear, or reload of the counter.
Bit
7
+0x27
Read/Write
R/W
R/W
Initial Value
0
• Bit 7:0 – LPER[7:0]
LPER contains the eight-bit period value for the low-byte timer/counter.
Bit
7
+0x26
Read/Write
R/W
R/W
Initial Value
0
• Bit 7:0 – HPER[7:0]
HPER contains the eight-bit period for the high-byte timer/counter.
Bit
7
Read/Write
R/W
Initial Value
0
• Bit 7:0 – LCMPx[7:0], x=[A, B, C, D]
LCMPx contains the eight-bit compare value for the low-byte timer/counter.
These registers are all continuously compared to the counter value. Normally, the outputs from
the comparators are then used for generating waveforms.
6
5
4
HCNT[7:0]
R/W
R/W
0
0
0
6
5
4
LPER[7:0]
R/W
R/W
0
0
0
6
5
4
HPER[7:0]
R/W
R/W
0
0
0
6
5
4
LCMPx[7:0]
R/W
R/W
R/W
0
0
0
Atmel AVR XMEGA AU
3
2
1
R/W
R/W
R/W
0
0
0
3
2
1
R/W
R/W
R/W
0
0
0
3
2
1
R/W
R/W
R/W
0
0
0
3
2
1
R/W
R/W
R/W
0
0
0
0
HCNT
R/W
0
0
LPER
R/W
0
0
HPER
R/W
0
0
LCMPx
R/W
0
203
Need help?
Do you have a question about the AVR XMEGA AU series and is the answer not in the manual?