ATTINY45-15SZ Atmel, ATTINY45-15SZ Datasheet - Page 61
ATTINY45-15SZ
Manufacturer Part Number
ATTINY45-15SZ
Description
MCU AVR 4K FLASH 15MHZ 8-SOIC
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet
1.ATTINY25-15MZ.pdf
(196 pages)
Specifications of ATTINY45-15SZ
Package / Case
8-SOIC (3.9mm Width)
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Operating Temperature
-40°C ~ 125°C
Speed
16MHz
Number Of I /o
6
Eeprom Size
256 x 8
Core Processor
AVR
Program Memory Type
FLASH
Ram Size
256 x 8
Program Memory Size
4KB (4K x 8)
Data Converters
A/D 4x10b
Oscillator Type
Internal
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Connectivity
USI
Core Size
8-Bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY45-15SZ
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
- Current page: 61 of 196
- Download datasheet (4Mb)
12. 8-bit Timer/Counter0 with PWM
12.1
12.1.1
7598H–AVR–07/09
Overview
Registers
Timer/Counter0 is a general purpose 8-bit Timer/Counter module, with two independent Output
Compare Units, and with PWM support. It allows accurate program execution timing (event man-
agement) and wave generation. The main features are:
•
•
•
•
•
•
•
A simplified block diagram of the 8-bit Timer/Counter is shown in
placement of I/O pins, refer to
including I/O bits and I/O pins, are shown in bold. The device-specific I/O Register and bit loca-
tions are listed in the
Figure 12-1. 8-bit Timer/Counter Block Diagram
The Timer/Counter (TCNT0) and Output Compare Registers (OCR0A and OCR0B) are 8-bit
registers. Interrupt request (abbreviated to Int.Req. in the figure) signals are all visible in the
Timer Interrupt Flag Register (TIFR). All interrupts are individually masked with the Timer Inter-
rupt Mask Register (TIMSK). TIFR and TIMSK are not shown in the figure.
The Timer/Counter can be clocked internally, via the prescaler, or by an external clock source on
the T0 pin. The Clock Select logic block controls which clock source and edge the Timer/Counter
uses to increment (or decrement) 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
Two Independent Output Compare Units
Double Buffered Output Compare Registers
Clear Timer on Compare Match (Auto Reload)
Glitch Free, Phase Correct Pulse Width Modulator (PWM)
Variable PWM Period
Frequency Generator
Three Independent Interrupt Sources (TOV0, OCF0A, and OCF0B)
“8-bit Timer/Counter Register Description” on page
Timer/Counter
TCCRnA
OCRnA
TCNTn
OCRnB
=
=
“Pinout ATtiny25/45/85” on page
Direction
Count
Clear
Control Logic
TOP
=
TCCRnB
Value
BOTTOM
Fixed
TOP
clk
=
Tn
0
OCnA
(Int.Req.)
OCnB
(Int.Req.)
TOVn
(Int.Req.)
Clock Select
Generation
Generation
Waveform
Waveform
( From Prescaler )
Detector
2. CPU accessible I/O Registers,
Edge
ATtiny25/45/85
Figure
72.
12-1. For the actual
OCnA
OCnB
Tn
T0
).
61
Related parts for ATTINY45-15SZ
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
Part Number:
Description:
IC AVR MCU 4K 20MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC AVR MCU 4K 20MHZ 8DIP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU AVR 4KB FLASH 20MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC MCU AVR 4K FLASH 20MHZ 8TSSOP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC AVR MCU FLASH 4K 20MHZ 20MLF
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU AVR 4KB FLASH 20MHZ 8TSSOP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC MCU AVR 4KB FLASH 20MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU AVR 4KB FLASH 20MHZ 20QFN
Manufacturer:
Atmel
Datasheet: