ATTINY12-8SC Atmel, ATTINY12-8SC Datasheet - Page 32

IC AVR MCU 1K 5V 8MHZ COM SO-8

ATTINY12-8SC

Manufacturer Part Number
ATTINY12-8SC
Description
IC AVR MCU 1K 5V 8MHZ COM SO-8
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheets

Specifications of ATTINY12-8SC

Core Processor
AVR
Core Size
8-Bit
Speed
8MHz
Peripherals
POR, WDT
Number Of I /o
6
Program Memory Size
1KB (512 x 16)
Program Memory Type
FLASH
Eeprom Size
64 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
8-SOIC (5.3mm Width), 8-SOP, 8-SOEIAJ
Data Bus Width
8 bit
Maximum Clock Frequency
8 MHz
Number Of Programmable I/os
12
Number Of Timers
1 x 8 bit
Operating Supply Voltage
4 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Minimum Operating Temperature
- 55 C
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Ram Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
No
Other names
ATTINY128SC

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY12-8SC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Pin Change Interrupt
Register Description
MCU Control Register –
MCUCR
32
ATtiny11/12
The pin change interrupt is triggered by any change on any input or I/O pin. Change on
pins PB2..0 will always cause an interrupt. Change on pins PB5..3 will cause an inter-
rupt if the pin is configured as input or I/O, as described in the section “Pin Descriptions”
on page 5. Observe that, if enabled, the interrupt will trigger even if the changing pin is
configured as an output. This feature provides a way of generating a software interrupt.
Also observe that the pin change interrupt will trigger even if the pin activity triggers
another interrupt, for example, the external interrupt. This implies that one external
event might cause several interrupts.
The MCU Control Register contains control bits for general MCU functions.
Note:
• Bit 7 - Res: Reserved Bit
This bit is a reserved bit in the ATtiny11/12 and always reads as zero.
• Bit 6 - Res: Reserved Bit in ATtiny11
This bit is a reserved bit in the ATtiny11 and always reads as zero.
• Bit 6 - PUD: Pull-up Disable in ATtiny12
Setting this bit, disables all pull-ups on port B. If this bit is cleared, the pull-ups can be
individually enabled as described in section “I/O Port B” on page 36.
• Bit 5 - SE: Sleep Enable
The SE bit must be set (one) to make the MCU enter the Sleep Mode when the SLEEP
instruction is executed. To avoid the MCU entering the Sleep Mode unless it is the pro-
grammer’s purpose, it is recommended to set the Sleep Enable SE bit just before the
execution of the SLEEP instruction.
• Bit 4 - SM: Sleep Mode
This bit selects between the two available sleep modes. When SM is cleared (zero), Idle
Mode is selected as Sleep Mode. When SM is set (one), Power-down Mode is selected
as Sleep Mode. For details, refer to the paragraph “Sleep Modes” below.
• Bits 3, 2 - Res: Reserved Bits
These bits are reserved bits in the ATtiny11/12 and always read as zero.
Bit
$35
Read/Write
Initial Value
The values on the pins are sampled before detecting edges. If pin change interrupt
is enabled, pulses that last longer than one CPU clock period will generate an
interrupt. Shorter pulses are not guaranteed to generate an interrupt.
The Pull-up Disable (PUD) bit is only available in ATtiny12.
R
7
0
-
(PUD)
R(/W)
6
0
R/W
SE
5
0
R/W
SM
4
0
R
3
0
-
R
2
0
-
ISC01
R/W
1
0
ISC00
R/W
0
0
1006F–AVR–06/07
MCUCR

Related parts for ATTINY12-8SC