ATTINY20-SSU Atmel, ATTINY20-SSU Datasheet - Page 13

no-image

ATTINY20-SSU

Manufacturer Part Number
ATTINY20-SSU
Description
MCU AVR 2KB FLASH 12MHZ 14SOIC
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet

Specifications of ATTINY20-SSU

Core Processor
AVR
Core Size
8-Bit
Speed
12MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
12
Program Memory Size
2KB (1K x 16)
Program Memory Type
FLASH
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Processor Series
ATtiny
Core
AVR
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
SPI, TWI
Maximum Clock Frequency
12 MHz
Number Of Programmable I/os
12
Number Of Timers
2
Operating Supply Voltage
3.3 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Minimum Operating Temperature
- 40 C
Operating Temperature Range
- 40 C to + 85 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY20-SSU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
4.8
4.8.1
4.8.2
8235B–AVR–04/11
Register Description
CCP – Configuration Change Protection Register
SPH and SPL — Stack Pointer Registers
• Bits 7:0 – CCP[7:0]: Configuration Change Protection
In order to change the contents of a protected I/O register the CCP register must first be written
with the correct signature. After CCP is written the protected I/O registers may be written to dur-
ing the next four CPU instruction cycles. All interrupts are ignored during these cycles. After
these cycles interrupts are automatically handled again by the CPU, and any pending interrupts
will be executed according to their priority.
When the protected I/O register signature is written, CCP0 will read as one as long as the pro-
tected feature is enabled, while CCP[7:1] will always read as zero.
Table 4-1
Table 4-1.
Notes:
• Bits 7:0 – SP[7:0]: Stack Pointer
The Stack Pointer register points to the top of the stack, which is implemented growing from
higher memory locations to lower memory locations. Hence, a stack PUSH command decreases
the stack pointer.
The stack space in the data SRAM must be defined by the program before any subroutine calls
are executed or interrupts are enabled.
In ATtiny20, the SPH register has not been implemented.
Bit
0x3C
Read/Write
Initial Value
Initial Value
Read/Write
Bit
0x3E
0x3D
Bit
Read/Write
Initial Value
Signature
0xD8
1. Only WDE and WDP[3:0] bits are protected in WDTCSR.
2. Only BODS bit is protected in MCUCR.
shows the signatures that are in recognised.
Signatures Recognised by the Configuration Change Protection Register
RAMEND
SP7
R/W
Group
IOREG: CLKMSR, CLKPSR, WDTCSR
W
7
0
15
R
0
7
RAMEND
SP6
R/W
W
6
0
14
R
0
6
RAMEND
SP5
R/W
W
5
0
13
R
0
5
RAMEND
SP4
R/W
W
4
0
12
R
0
4
CCP[7:0]
RAMEND
(1)
SP3
R/W
W
3
0
11
, MCUCR
R
3
0
RAMEND
SP2
R/W
W
(2)
2
0
10
R
2
0
Description
Protected I/O register
RAMEND
SP1
R/W
W
1
0
R
9
1
0
ATtiny20
RAMEND
R/W
R/W
SP0
0
0
R
8
0
0
CCP
SPH
SPL
13

Related parts for ATTINY20-SSU