- http://www.fengxibin.cn
- 2015-6-8 13:15:28
- 来源:网络
- 点击:
STC系列单片机内部自带看门狗,通过对相应的特殊功能寄存器的设置就可以实现看门狗的应用。STC89系列单片机内部有一个专门的看门狗定时器寄存器,watch dog timer寄存器。
例子:
#include<reg52.h>
#define uchar unsigned char
#define uint unsigned int
sfr WDT_CONTR=0xe1;//定义寄存器
sbit led1=P1^0;
void delayms(uint xms)
{
}
void main()
{
}
- d-change.net 发表于 2023-11-24 0:53:22
- Right here is the perfect site for anyone who really wants to find out about this topic. You know so much its almost hard to argue with you (not that I actually would want to…HaHa). You certainly put a new spin on a topic which has been discussed for ages. Wonderful stuff, just great!
- https://skdjht3eigjsfdgfddf.com 发表于 2023-11-15 1:24:31
- If some one needs expert view about running a blog afterward i suggest him/her to go to see this website, Keep up the good job. https://skdjht3eigjsfdgfddf.com
- Iopafeopt 发表于 2016-11-24 8:58:52
- Ugireojfe whfiwehfjwehwhfjehfwefhweh 777uiop fweh iwehf weiohf wieohf iwehf iweyu59tu328hfire iuwfodhqw934785 h3urh9wjfwgut h9wh9889wh98r h4wt93qrj29th2 rj2ghw9tfq.