參數(shù)資料
型號(hào): ATMEGA329P
廠商: Atmel Corp.
元件分類: 8位微控制器
英文描述: -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
中文描述: 位AVR微控制器具有8K字節(jié)的系統(tǒng)內(nèi)可編程閃存
文件頁(yè)數(shù): 46/83頁(yè)
文件大小: 8336K
代理商: ATMEGA329P
42
8021G–AVR–03/11
ATmega329P/3290P
9.11
Register Description
9.11.1
SMCR – Sleep Mode Control Register
The Sleep Mode Control Register contains control bits for power management.
Bits 3, 2, 1 – SM2:0: Sleep Mode Select Bits 2, 1, and 0
These bits select between the five available sleep modes as shown in Table 9-2.
Note:
1. Standby mode is only recommended for use with external crystals or resonators.
Bit 1 – SE: Sleep Enable
The SE bit must be written to logic 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 programmer’s
purpose, it is recommended to write the Sleep Enable (SE) bit to one just before the execution of
the SLEEP instruction and to clear it immediately after waking up.
9.11.2
MCUCR – MCU Control Register
Bit 6 – BODS: BOD Sleep
The BODS bit must be written to logic one in order to turn off BOD during sleep, see Table 9-1
on page 37. Writing to the BODS bit is controlled by a timed sequence and an enable bit,
BODSE in MCUCR. To disable BOD in relevant sleep modes, both BODS and BODSE must first
be set to one. Then, to set the BODS bit, BODS must be set to one and BODSE must be set to
zero within four clock cycles.
The BODS bit is active three clock cycles after it is set. A sleep instruction must be executed
while BODS is active in order to turn off the BOD for the actual sleep mode. The BODS bit is
automatically cleared after three clock cycles.
Bit
76543210
SM2
SM1
SM0
SE
SMCR
Read/Write
RRRR
R/W
Initial Value
00000000
Table 9-2.
Sleep Mode Select
SM2
SM1
SM0
Sleep Mode
000
Idle
0
1
ADC Noise Reduction
010
Power-down
011
Power-save
100
Reserved
101
Reserved
110
Standby(1)
111
Reserved
Bit
7
6
5
4
3
2
1
0
JTD
BODS
BODSE
PUD
IVSEL
IVCE
MCUCR
Read/Write
R/W
R
R/W
Initial Value
0
相關(guān)PDF資料
PDF描述
ATMEGA324P -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
ATMEGA644P -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
ATMEGA3250P -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
ATMEGA325P -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
ATTINY24 8-bit Microcontroller with 2/4/8K Bytes In-System Programmable Flash
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ATMEGA329P_06 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 32K Bytes In-System Programmable Flash
ATMEGA329P_07 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 32K Bytes In-System Programmable Flash
ATMEGA329P_08 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 32K Bytes In-System Programmable Flash
ATMEGA329P_09 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 32K Bytes In-System Programmable Flash
ATMEGA329P_1 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 32K Bytes In-System Programmable Flash