TINY12 ATMEL [ATMEL Corporation], TINY12 Datasheet - Page 9

no-image

TINY12

Manufacturer Part Number
TINY12
Description
8-bit AVR Microcontroller with 1K Byte Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TINY12-8SC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
TINY12L
Manufacturer:
ATMEL
Quantity:
5 510
Part Number:
TINY12L
Manufacturer:
NS
Quantity:
5 510
General-purpose
Register File
1006D–AVR–07/03
Figure 6. The ATtiny11/12 AVR RISC Architecture
A flexible interrupt module has its control registers in the I/O space with an additional
global interrupt enable bit in the status register. All the different interrupts have a sepa-
r a t e i n t er r u p t v e c t o r i n t he i n t er r u p t v e c t o r t ab l e a t t he b e g i n ni n g o f t he
program memory. The different interrupts have priority in accordance with their interrupt
vector position. The lower the interrupt vector address, the higher the priority.
Figure 7 shows the structure of the 32 general-purpose registers in the CPU.
Figure 7. AVR CPU General-purpose Working Registers
All the register operating instructions in the instruction set have direct- and single-cycle
access to all registers. The only exception is the five constant arithmetic and logic
instructions SBCI, SUBI, CPI, ANDI, and ORI between a constant and a register and the
LDI instruction for load-immediate constant data. These instructions apply to the second
half of the registers in the register file – R16..R31. The general SBC, SUB, CP, AND,
Control Lines
Instruction
Instruction
Registers
General-
purpose
Working
512 x 16
Program
Register
Decoder
Flash
Direct Addressing
8-bit Data Bus
7
Program
Counter
R31 (Z-register high byte)
R30 (Z-register low byte)
R28
R29
R0
R1
R2
64 x 8 EEPROM
(ATtiny12 only)
Registers
and Test
General-
purpose
Status
32 x 8
ALU
0
ATtiny11/12
(ATtiny12 only)
Timer/Counter
Comparator
Registers
Watchdog
Interrupt
I/O Lines
SPI Unit
Control
Analog
Timer
8-bit
Unit
6
9

Related parts for TINY12