ATTINY26-16PI Atmel, ATTINY26-16PI Datasheet - Page 37

IC AVR MCU 2K 16MHZ IND 20-DIP

ATTINY26-16PI

Manufacturer Part Number
ATTINY26-16PI
Description
IC AVR MCU 2K 16MHZ IND 20-DIP
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheets

Specifications of ATTINY26-16PI

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
USI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Program Memory Size
2KB (1K x 16)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
20-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Power
Management
and Sleep
Modes
MCU Control
Register – MCUCR
1477K–AVR–08/10
Sleep modes enable the application to shut down unused modules in the MCU, thereby saving
power. The AVR provides various sleep modes allowing the user to tailor the power consump-
tion to the application’s requirements.
To enter any of the four sleep modes, the SE bit in MCUCR must be written to logic one and a
SLEEP instruction must be executed. The SM1, and SM0 bits in the MCUCR Register select
which sleep mode (Idle, ADC Noise Reduction, Power Down, or Stand-by) will be activated by
the SLEEP instruction. See Table 17 for a summary. If an enabled interrupt occurs while the
MCU is in a sleep mode, the MCU wakes up. The MCU is then halted for four cycles in addition
to the start-up time, it executes the interrupt routine, and resumes execution from the instruction
following SLEEP. The contents of the Register File and SRAM are unaltered when the device
wakes up from sleep. If a Reset occurs during sleep mode, the MCU wakes up and executes
from the Reset Vector.
Table 19 on page 39 presents the different clock systems in the ATtiny26, and their distribution.
The figure is helpful in selecting an appropriate sleep mode.
The MCU Control Register contains control bits for general MCU functions.
• Bits 7 – Res: Reserved Bit
This bit is a reserved bit in the ATtiny26(L) and always reads as zero.
• Bit 6 – PUD: Pull-up Disable
When this bit is set (one), the pull-ups in the I/O ports are disabled even if the DDxn and
PORTxn Registers are configured to enable the pull-ups ({DDxn, PORTxn} = 0b01). See “Con-
figuring the Pin” on page 42 for more details about this feature.
• Bit 5 – SE: Sleep Enable
The SE bit must be set (one) to make the MCU enter the Sleep mode when the SLEEP instruc-
tion is executed. To avoid the MCU entering the Sleep mode unless it is the programmers
purpose, it is recommended to set the Sleep Enable SE bit just before the execution of the
SLEEP instruction.
• Bits 4,3 – SM1/SM0: Sleep Mode Select Bits 1 and 0
These bits select between the four available Sleep modes, as shown in the following table.
Table 17. Sleep Modes
For details, refer to the paragraph “Sleep Modes” below.
• Bit 2 – Res: Reserved Bit
This bit is a reserved bit in the ATtiny26(L) and always reads as zero.
• Bits 1, 0 – ISC01, ISC00: Interrupt Sense Control 0 Bit 1 and Bit 0
Bit
$35 ($55)
Read/Write
Initial Value
SM1
0
0
1
1
R
7
0
SM0
0
1
0
1
PUD
R/W
6
0
Sleep Mode
Idle mode
ADC Noise Reduction mode
Power-down mode
Standby mode
R/W
SE
5
0
SM1
R/W
4
0
SM0
R/W
3
0
R
2
0
ISC01
R/W
1
0
ISC00
R/W
0
0
MCUCR
37

Related parts for ATTINY26-16PI