at90pwm81-16se ATMEL Corporation, at90pwm81-16se Datasheet - Page 85

no-image

at90pwm81-16se

Manufacturer Part Number
at90pwm81-16se
Description
8-bit Avr Microcontroller With 8k Bytes In- System Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
12.1.1
7734M–AVR–03/10
Registers
Figure 12-1.
Note:
The Timer/Counter (TCNT1), and Input Capture Register (ICR1) are all 16-bit registers. Special proce-
dures must be followed when accessing the 16-bit registers. These procedures are described in the section
“Accessing 16-bit Registers” on page
registers and have no CPU access restrictions. Interrupt requests (abbreviated to Int.Req. in the figure) sig-
nals are all visible in the Timer Interrupt Flag Register (TIFR1). All interrupts are individually masked
with the Timer Interrupt Mask Register (TIMSK1). TIFR1 and TIMSK1 are not shown in the figure.
The Timer/Counter can be clocked internally, or by an external clock source on the T1 pin. The Clock
Select logic block controls which clock source and edge the Timer/Counter uses to increment (or decre-
ment) its value. The Timer/Counter is inactive when no clock source is selected. The output from the
Clock Select logic is referred to as the timer clock (clk
The Input Capture Register can capture the Timer/Counter value at a given external (edge triggered) event
on either the Input Capture pin (ICP1). The Input Capture unit includes a digital filtering unit (Noise Can-
celer) for reducing the chance of capturing noise spikes.
The TOP value, or maximum Timer/Counter value, can in some modes of operation be defined by the
ICR1 Register, or by a set of fixed values.
1. Refer to
16-bit Timer/Counter Block Diagram
Table 3-1 on page 5
Timer/Counter
TCNTn
ICRn
Count
Clear
86. The Timer/Counter Control Registers (TCCR1A/B) are 8-bit
for Timer/Counter1 pin placement and description.
Control Logic
TOP
=
TCCRnB
Values
(1)
BOTTOM
Fixed
TOP
T
1
ICFn (Int.Req.)
).
clk
Detector
Edge
=
Tn
0
TOVn
(Int.Req.)
Clock Select
(Ckio )
Canceler
Detector
Noise
Edge
AT90PWM81
Comparator Ouput )
AC1ICE
( From Analog
ICPn
Tn
85

Related parts for at90pwm81-16se