欢迎访问ic37.com |
会员登录 免费注册
发布采购

ATMEGA16L-8MI 参数 Datasheet PDF下载

ATMEGA16L-8MI图片预览
型号: ATMEGA16L-8MI
PDF下载: 下载PDF文件 查看货源
内容描述: 8位AVR微控制器具有16K字节的系统内可编程闪存 [8-bit AVR Microcontroller with 16K Bytes In-System Programmable Flash]
分类和应用: 闪存微控制器和处理器外围集成电路异步传输模式ATM时钟
文件页数/大小: 315 页 / 2880 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA16L-8MI的Datasheet PDF文件第37页浏览型号ATMEGA16L-8MI的Datasheet PDF文件第38页浏览型号ATMEGA16L-8MI的Datasheet PDF文件第39页浏览型号ATMEGA16L-8MI的Datasheet PDF文件第40页浏览型号ATMEGA16L-8MI的Datasheet PDF文件第42页浏览型号ATMEGA16L-8MI的Datasheet PDF文件第43页浏览型号ATMEGA16L-8MI的Datasheet PDF文件第44页浏览型号ATMEGA16L-8MI的Datasheet PDF文件第45页  
ATmega16(L)  
The following code example shows one assembly and one C function for turning off the  
WDT. The example assumes that interrupts are controlled (for example by disabling  
interrupts globally) so that no interrupts will occur during execution of these functions.  
Assembly Code Example  
WDT_off:  
; Write logical one to WDTOE and WDE  
ldi r16, (1<<WDTOE)|(1<<WDE)  
out WDTCR, r16  
; Turn off WDT  
ldi r16, (0<<WDE)  
out WDTCR, r16  
ret  
C Code Example  
void WDT_off(void)  
{
/* Write logical one to WDTOE and WDE */  
WDTCR = (1<<WDTOE) | (1<<WDE);  
/* Turn off WDT */  
WDTCR = 0x00;  
}
41  
2466E–AVR–10/02  
 复制成功!