6 tcnt1 – timer/counter register, 7 ocr0a – output compare register a, 8 ocr1a – output compare register a – Rainbow Electronics ATtiny43U User Manual
Page 95: 9 ocr0b – output compare register b, 10 ocr1b – output compare register b

95
8048B–AVR–03/09
12.9.6
TCNT1 – Timer/Counter Register
The Timer/Counter Register gives direct access, both for read and write operations, to the
Timer/Counter unit 8-bit counter. Writing to the TCNTn Register blocks (removes) the Compare
Match on the following timer clock. Modifying the counter (TCNTn) while the counter is running,
introduces a risk of missing a Compare Match between TCNTn and the OCRnx Registers.
12.9.7
OCR0A – Output Compare Register A
12.9.8
OCR1A – Output Compare Register A
The Output Compare Register A contains an 8-bit value that is continuously compared with the
counter value (TCNTn). A match can be used to generate an Output Compare interrupt, or to
generate a waveform output on the OCnA pin.
12.9.9
OCR0B – Output Compare Register B
12.9.10
OCR1B – Output Compare Register B
The Output Compare Register B contains an 8-bit value that is continuously compared with the
counter value (TCNTn). A match can be used to generate an Output Compare interrupt, or to
generate a waveform output on the OCnB pin.
12.9.11
TIMSK0 – Timer/Counter 0 Interrupt Mask Register
Bit
7
6
5
4
3
2
1
0
TCNT1[7:0]
TCNT1
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Bit
7
6
5
4
3
2
1
0
OCR0A[7:0]
OCR0A
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Bit
7
6
5
4
3
2
1
0
OCR1A[7:0]
OCR1A
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Bit
7
6
5
4
3
2
1
0
OCR0B[7:0]
OCR0B
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Bit
7
6
5
4
3
2
1
0
OCR1B[7:0]
OCR1B
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Bit
7
6
5
4
3
2
1
0
–
–
–
–
–
OCIE0B
OCIE0A
TOIE0
TIMSK0
Read/Write
R
R
R
R
R
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0