ATtiny20 Atmel Corporation, ATtiny20 Datasheet - Page 159

no-image

ATtiny20

Manufacturer Part Number
ATtiny20
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATtiny20

Flash (kbytes)
2 Kbytes
Pin Count
14
Max. Operating Frequency
12 MHz
Cpu
8-bit AVR
# Of Touch Channels
5
Hardware Qtouch Acquisition
Yes
Max I/o Pins
12
Ext Interrupts
12
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.12
Self Program Memory
NO
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.8 to 5.5
Operating Voltage (vcc)
1.8 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
4
Input Capture Channels
1
Pwm Channels
3
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATtiny20-CCU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATtiny20-CCUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATtiny20-MMHR
Manufacturer:
ATMEL
Quantity:
20 000
Part Number:
ATtiny20-SSU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny20-XU
Manufacturer:
Atmel
Quantity:
904
18.5.3
18.5.4
18.5.5
18.5.6
18.5.7
8235B–AVR–04/11
SSTPR - Serial STore to Pointer Register
SIN - Serial IN from i/o space using direct addressing
SOUT - Serial OUT to i/o space using direct addressing
SLDCS - Serial LoaD data from Control and Status space using direct addressing
SSTCS - Serial STore data to Control and Status space using direct addressing
The SSTPR instruction stores the data byte that is shifted into the physical layer shift register to
the Pointer Register (PR). The address bit of the instruction specifies which byte of the Pointer
Register is accessed, as shown in
Table 18-4.
The SIN instruction loads data byte from the I/O space to the shift register of the physical layer
for serial read-out. The instuction uses direct addressing, the address consisting of the 6
address bits of the instruction, as shown in
Table 18-5.
The SOUT instruction stores the data byte that is shifted into the physical layer shift register to
the I/O space. The instruction uses direct addressing, the address consisting of the 6 address
bits of the instruction, as shown in
Table 18-6.
The SLDCS instruction loads data byte from the TPI Control and Status Space to the TPI physi-
cal layer shift register for serial read-out. The SLDCS instruction uses direct addressing, the
direct address consisting of the 4 address bits of the instruction, as shown in
Table 18-7.
The SSTCS instruction stores the data byte that is shifted into the TPI physical layer shift regis-
ter to the TPI Control and Status Space. The SSTCS instruction uses direct addressing, the
direct address consisting of the 4 address bits of the instruction, as shown in
Table 18-8.
Operation
PR[a]
Operation
data
Operation
I/O[a]
Operation
data
Operation
CSS[a]
I/O[a]
CSS[a]
data
data
data
The Serial Store to Pointer Register (SSTPR) Instruction
The Serial IN from i/o space (SIN) Instruction
The Serial OUT to i/o space (SOUT) Instruction
The Serial Load Data from Control and Status space (SLDCS) Instruction
The Serial STore data to Control and Status space (SSTCS) Instruction
Opcode
0110 100a
Opcode
0aa1 aaaa
Opcode
1aa1 aaaa
Opcode
1000 aaaa
Opcode
1100 aaaa
Table
Table
18-6.
18-4.
Table
Remarks
Bit ‘a’ addresses Pointer Register byte
Remarks
Bits marked ‘a’ form the direct, 6-bit addres
Remarks
Bits marked ‘a’ form the direct, 6-bit addres
Remarks
Bits marked ‘a’ form the direct, 4-bit addres
Remarks
Bits marked ‘a’ form the direct, 4-bit addres
18-5.
Table
Table
ATtiny20
18-7.
18-8.
159

Related parts for ATtiny20