DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

ATTINY11(2003) View Datasheet(PDF) - Atmel Corporation

Part Name
Description
Manufacturer
ATTINY11
(Rev.:2003)
Atmel
Atmel Corporation Atmel
ATTINY11 Datasheet PDF : 91 Pages
First Prev 21 22 23 24 25 26 27 28 29 30 Next Last
MCU Control Register –
MCUCR
1006D–AVR–07/03
ATtiny11/12
The MCU Control Register contains control bits for general MCU functions.
Bit
$35
Read/Write
Initial Value
7
6
5
4
3
-
(PUD)
SE
SM
-
R
R(/W)
R/W
R/W
R
0
0
0
0
0
2
1
0
-
ISC01 ISC00
R
R/W
R/W
0
0
0
Note: The Pull-up Disable (PUD) bit is only available in ATtiny12.
MCUCR
• 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 43.
• 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.
• Bits 1, 0 - ISC01, ISC00: Interrupt Sense Control0 Bit 1 and Bit 0
The External Interrupt 0 is activated by the external pin INT0 if the SREG I-flag and the
corresponding interrupt mask are set. The following table shows how to set the ISC bits
to generate an external interrupt:
Table 13. Interrupt 0 Sense Control
ISC01
0
ISC00
0
Description
The low level of INT0 generates an interrupt request.
0
1
Any change on INT0 generates an interrupt request
1
0
The falling edge of INT0 generates an interrupt request.
1
1
The rising edge of INT0 generates an interrupt request.
The value on the INT0 pin is sampled before detecting edges. If edge interrupt is
selected, pulses that last longer than one CPU clock period will generate an interrupt.
Shorter pulses are not guaranteed to generate an interrupt. If low-level interrupt is
selected, the low level must be held until the completion of the currently executing
29

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]