AT90PWM81 Atmel Corporation, AT90PWM81 Datasheet - Page 97

no-image

AT90PWM81

Manufacturer Part Number
AT90PWM81
Description
Manufacturer
Atmel Corporation
Datasheet

Specifications of AT90PWM81

Flash (kbytes)
8 Kbytes
Pin Count
20
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
Hardware Qtouch Acquisition
No
Max I/o Pins
20
Ext Interrupts
3
Usb Speed
No
Usb Interface
No
Spi
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
11
Adc Resolution (bits)
10
Adc Speed (ksps)
125
Analog Comparators
3
Resistive Touch Screen
No
Dac Channels
1
Dac Resolution (bits)
10
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.25
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 125
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
1
Output Compare Channels
8
Input Capture Channels
1
Pwm Channels
6
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT90PWM81-16MF
Manufacturer:
Atmel
Quantity:
3 118
Part Number:
AT90PWM81-16MN
Manufacturer:
Atmel
Quantity:
2 446
Part Number:
AT90PWM81-16SF
Manufacturer:
Atmel
Quantity:
2 428
Part Number:
AT90PWM81-16SN
Manufacturer:
Atmel
Quantity:
1 500
11.8.2
11.8.3
11.8.4
7734P–AVR–08/10
Timer/Counter1 – TCNT1H and TCNT1L
Input Capture Register 1 – ICR1H and ICR1L
Timer/Counter1 Interrupt Mask Register – TIMSK1
Table 11-2.
If external pin modes are used for the Timer/Counter1, transitions on the T1 pin will clock the counter
even if the pin is configured as an output. This feature allows software control of the counting.
The two Timer/Counter I/O locations (TCNT1H and TCNT1L, combined TCNT1) give direct access,
both for read and for write operations, to the Timer/Counter unit 16-bit counter. To ensure that both the
high and low bytes are read and written simultaneously when the CPU accesses these registers, the access
is performed using an 8-bit temporary High Byte Register (TEMP). This temporary register is shared by
all the other 16-bit registers.
Modifying the counter (TCNT1) while the counter is running introduces a risk of missing a compare
match between TCNT1 and one of the OCR1x Registers.
Writing to the TCNT1 Register blocks (removes) the compare match on the following timer clock for all
compare units.
The Input Capture is updated with the counter (TCNT1) value each time an event occurs on the ICP1 pin
(or optionally on the Analog Comparator output for Timer/Counter1). The Input Capture can be used for
defining the counter TOP value.
The Input Capture Register is 16-bit in size. To ensure that both the high and low bytes are read simultane-
ously when the CPU accesses these registers, the access is performed using an 8-bit temporary High Byte
Register (TEMP). This temporary register is shared by all the other 16-bit registers.
Registers” on page 86.
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
CS12
1
1
1
1
CS11
Clock Select Bit Description
0
0
1
1
7
TCNT1[15:8]
TCNT1[7:0]
R/W
0
7
ICR1[15:8]
ICR1[7:0]
R/W
0
7
R
0
CS10
6
R
0
6
R/W
0
6
R/W
0
0
1
0
1
See “Accessing 16-bit Registers” on page 86.
Description
Reserved
Reserved
External clock source on T1 pin. Clock on falling edge.
External clock source on T1 pin. Clock on rising edge.
5
ICIE1
R/W
0
5
R/W
0
5
R/W
0
4
R
0
4
R/W
0
4
R/W
0
3
R
0
3
R/W
0
3
R/W
0
R/W
2
0
2
R/W
0
2
R/W
0
1
R/W
0
1
R/W
0
1
R/W
0
AT90PWM81
See “Accessing 16-bit
0
R/W
0
0
R/W
0
0
TOIE1
R/W
0
TCNT1H
TCNT1L
ICR1H
ICR1L
TIMSK1
97

Related parts for AT90PWM81