attiny261a-xu ATMEL Corporation, attiny261a-xu Datasheet - Page 69

no-image

attiny261a-xu

Manufacturer Part Number
attiny261a-xu
Description
8-bit Avr Microcontroller With 2/4/8k Bytes In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
attiny261a-xuR
Manufacturer:
Atmel
Quantity:
5 990
11. Timer/Counter0
11.1
11.2
11.2.1
8197B–AVR–01/10
Features
Overview
Registers
Timer/Counter0 is a general purpose 8/16-bit Timer/Counter module, with two/one Output Com-
pare units and Input Capture feature.
The general operation of Timer/Counter0 is described in 8/16-bit mode. A simplified block dia-
gram of the 8/16-bit Timer/Counter is shown in
including I/O bits and I/O pins, are shown in bold. For actual placement of I/O pins, refer to
out ATtiny261A/461A/861A” on page
in the
Figure 11-1. 8-/16-bit Timer/Counter Block Diagram
The Timer/Counter0 Low Byte Register (TCNT0L) and Output Compare Registers (OCR0A and
OCR0B) are 8-bit registers. Interrupt request (abbreviated Int.Req. in
Clear Timer on Compare Match (Auto Reload)
One Input Capture unit
Four Independent Interrupt Sources (TOV0, OCF0A, OCF0B, ICF0)
8-bit Mode with Two Independent Output Compare Units
16-bit Mode with One Independent Output Compare Unit
“Register Description” on page
TCCRnA
TCNTnH
OCRnB
=
Timer/Counter
Direction
Count
Clear
TCNTnL
TCCRnB
OCRnA
=
82.
2. Device-specific I/O Register and bit locations are listed
Control Logic
TOP
Figure
Detector
Edge
clk
=
Tn
11-1. CPU accessible I/O Registers,
Canceler
Fixed TOP value
( From Prescaler )
Noise
Figure
Clock Select
Detector
Edge
TOVn (Int. Req.)
11-1) signals are all
Comparator Ouput )
OCnA (Int. Req.)
OCnB (Int. Req.)
ICFn (Int. Req.)
( From Analog
ICPn
Tn
“Pin-
69

Related parts for attiny261a-xu