ATTINY45-15SZ Atmel, ATTINY45-15SZ Datasheet - Page 85

MCU AVR 4K FLASH 15MHZ 8-SOIC

ATTINY45-15SZ

Manufacturer Part Number
ATTINY45-15SZ
Description
MCU AVR 4K FLASH 15MHZ 8-SOIC
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet

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
14.1.2
7598H–AVR–07/09
General Timer/Counter1 Control Register - GTCCR
Table 14-2.
The Stop condition provides a Timer Enable/Disable function.
• Bit 6- PWM1B: Pulse Width Modulator B Enable
When set (one) this bit enables PWM mode based on comparator OCR1B in Timer/Counter1
and the counter value is reset to $00 in the CPU clock cycle after a compare match with OCR1C
register value.
• Bits 5,4 - COM1B1, COM1B0: Comparator B Output Mode, Bits 1 and 0
The COM1B1 and COM1B0 control bits determine any output pin action following a compare
match with compare register B in Timer/Counter1. Output pin actions affect pin PB3 (OC1B).
Since this is an alternative function to an I/O port, the corresponding direction control bit must be
set (one) in order to control an output pin. Note that OC1B is not connected in normal mode.
Table 14-3.
In PWM mode, these bits have different functions. Refer to
description.
Bit
$2C ($4C)
Read/Write
Initial value
COM1B1
CS13
0
0
1
1
0
1
1
1
1
1
1
1
1
Timer/Counter1 Prescale Select (Continued)
TSM
Comparator B Mode Select
R/W
COM1B0
7
0
0
1
0
1
CS12
1
0
0
0
0
1
1
1
1
PWM1B
R/W
6
0
Description
Timer/Counter Comparator B disconnected from output pin OC1B.
Toggle the OC1B output line.
Clear the OC1B output line.
Set the OC1B output line
COM1B1
CS11
R/W
1
0
0
1
1
0
0
1
1
5
0
COM1B0
R/W
4
0
CS10
1
0
1
0
1
0
1
0
1
FOC1B
W
3
0
Asynchronous
Clocking Mode
PCK/64
PCK/128
PCK/256
PCK/512
PCK/1024
PCK/2048
PCK/4096
PCK/8192
PCK/16384
Table 14-4 on page 90
FOC1A
W
2
0
ATtiny25/45/85
PSR1
R/W
1
0
Synchronous
Clocking Mode
CK/64
CK/128
CK/256
CK/512
CK/1024
CK/2048
CK/4096
CK/8192
CK/16384
PSR0
R/W
0
0
for a detailed
GTCCR
85

Related parts for ATTINY45-15SZ