參數(shù)資料
型號: ATMEGA1284-MUR
廠商: Atmel
文件頁數(shù): 113/160頁
文件大?。?/td> 0K
描述: IC MCU AVR 128K FLASH 44QFN
產品培訓模塊: megaAVR Introduction
標準包裝: 1
系列: AVR® ATmega
核心處理器: AVR
芯體尺寸: 8-位
速度: 20MHz
連通性: I²C,SPI,UART/USART
外圍設備: 欠壓檢測/復位,POR,PWM,WDT
輸入/輸出數(shù): 32
程序存儲器容量: 128KB(64K x 16)
程序存儲器類型: 閃存
EEPROM 大小: 4K x 8
RAM 容量: 16K x 8
電壓 - 電源 (Vcc/Vdd): 1.8 V ~ 5.5 V
數(shù)據(jù)轉換器: A/D 8x10b
振蕩器型: 內部
工作溫度: -40°C ~ 85°C
封裝/外殼: 44-VFQFN 裸露焊盤
包裝: 剪切帶 (CT)
其它名稱: ATMEGA1284-MURCT
56
8272E–AVR–04/2013
ATmega164A/PA/324A/PA/644A/PA/1284/P
1.
In the same operation, write a logic one to the Watchdog change enable bit (WDCE) and
WDE. A logic one must be written to WDE regardless of the previous value of the WDE
bit.
2.
Within the next four clock cycles, write the WDE and Watchdog prescaler bits (WDP) as
desired, but with the WDCE bit cleared. This must be done in one operation.
The following code example shows one assembly and one C function for turning off the Watch-
dog Timer. The example assumes that interrupts are controlled (for example, by disabling
interrupts globally) so that no interrupts will occur during the execution of these functions.
Notes:
1. The example code assumes that the part specific header file is included.
Assembly Code Example
WDT_off:
; Turn off global interrupt
cli
; Reset Watchdog Timer
wdr
; Clear WDRF in MCUSR
in
r16, MCUSR
andi
r16, ~(1<<WDRF)
out
MCUSR, r16
; Write logical one to WDCE and WDE
; Keep old prescaler setting to prevent unintentional time-out
ldi
r16, WDTCSR
ori
r16, (1<<WDCE) | (1<<WDE)
sts
WDTCSR, r16
; Turn off WDT
ldi
r16, (0<<WDE)
sts
WDTCSR, r16
; Turn on global interrupt
sei
ret
C Code Example
void WDT_off(void)
{
__disable_interrupt();
__watchdog_reset();
/* Clear WDRF in MCUSR */
MCUSR &= ~(1<<WDRF);
/* Write logical one to WDCE and WDE */
/* Keep old prescaler setting to prevent unintentional time-out */
WDTCSR |= (1<<WDCE) | (1<<WDE);
/* Turn off WDT */
WDTCSR = 0x00;
__enable_interrupt();
}
相關PDF資料
PDF描述
D38999/24FB98PN CONN RCPT 6POS JAM NUT W/PINS
SC16C652BIBS,151 IC ENCODER/DECODER IRDA 32HVQFN
VE-BTP-IW-F2 CONVERTER MOD DC/DC 13.8V 100W
VI-2NL-IY CONVERTER MOD DC/DC 28V 50W
MS27499E20B39P CONN RCPT 39POS BOX MNT W/PINS
相關代理商/技術參數(shù)
參數(shù)描述
ATMEGA1284P 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Atmel Microcontroller with 16/32/64/128K Bytes In-System Programmable Flash
ATMEGA1284P_09 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 128K Bytes In-System Programmable Flash
ATMEGA1284P_1 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 128K Bytes In-System Programmable Flash
ATMEGA1284P-AU 功能描述:8位微控制器 -MCU 128KB Flash 20MHz 1.8V-5.5V RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
ATMEGA1284P-AUR 功能描述:8位微控制器 -MCU AVR,128KB FLASH,1.8V 4KB EE 16KB SRAM RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT