文件名称:SLEEP
-
所属分类:
- 标签属性:
- 上传时间:2013-07-19
-
文件大小:10kb
-
已下载:2次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
/*
本程序简单的示范了如何令AVR ATMEGA16进入睡眠状态及唤醒
电源管理及睡眠模式的介绍
进入最低耗电的掉电模式
关闭各种模块
外部中断唤醒
M16掉电模式的耗电情况(看门狗关闭),时钟为内部RC 1MHz
0.9uA@Vcc=5.0V [手册的图表约为1.1uA]
0.3uA@Vcc=3.3V [手册的图表约为0.4uA]
//测量的数字万用表是FLUKE 15B,分辨率0.1uA
这个程序需要MCU进入休眠状态,为实现最低功耗,JTAG接口会被关闭,只能通过LED的变化来观察程序的运行。
这个实验里面,用STK500(AVRISP) ISP下载线来烧录更方便。
熔丝位设置
1 关断BOD功能 BODEN=1
2 如果用ISP方式烧录,就可以完全关闭JTAG口了 OCEEN=1,JTAGEN=1
*/-/* This program demonstrates how to make a simple AVR ATMEGA16 go to sleep and wake and sleep mode power management introduction into the most low-power-down mode off various modules external interrupt wake-down mode power consumption of M16 (Janitor Dogs closed), the clock is the internal RC 1MHz 0.9uA @ Vcc = 5.0V [Manual chart about 1.1uA] 0.3uA @ Vcc = 3.3V [Manual chart about 0.4uA]// measurement is FLUKE 15B Digital Multimeter resolution 0.1uA this program requires MCU enter the sleep state, in order to achieve the lowest power, JTAG interface, will be closed only by changing the LED to observe the operation of the program. This experiment inside, with the STK500 (AVRISP) ISP download cable to burn more convenient. Fuse setting a shutdown function BODEN = 1 2 BOD If ISP programming mode, you can completely turn off the JTAG port of OCEEN = 1, JTAGEN = 1* /
(系统自动生成,下载前可以参看下载内容)
下载文件列表
【OK】SLEEP/Makefile
【OK】SLEEP/SLEEP_main.c
【OK】SLEEP/
【OK】SLEEP/SLEEP_main.c
【OK】SLEEP/
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.