文件名称:WDT-500013
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 166kb
- 下载次数:
- 0次
- 提 供 者:
- Shi***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
本应用介绍了如何使用监视定时器。
本应用描述了监视定时器的功能并举例说明。-* THIS SAMPLE CODE IS PROVIDED AS IS AND IS SUBJECT TO ALTERATIONS. FUJITSU*/
/* MICROELECTRONICS ACCEPTS NO RESPONSIBILITY OR LIABILITY FOR ANY ERRORS OR*/
/* ELIGIBILITY FOR ANY PURPOSES. */
/* (C) Fujitsu Microelectronics (Shanghai) Co., LTD. */
/* Date:20080320 Version:1V0 Author:Levi */
/*-------------------------------------------------------------------------*/
/******************************************************************************
NAME: main.c
FUNCTION: Give a example for HWWDT
Hardware watchdog timer starts automatically after a reset and
cannot be stopped.
The internal time is fixed to 216/FCRL
******************************************************************************/
#include "mb95200.h"
/******************************************************************************
NAME: Delay()
FUNCTION: delay function
****************************************************
本应用描述了监视定时器的功能并举例说明。-* THIS SAMPLE CODE IS PROVIDED AS IS AND IS SUBJECT TO ALTERATIONS. FUJITSU*/
/* MICROELECTRONICS ACCEPTS NO RESPONSIBILITY OR LIABILITY FOR ANY ERRORS OR*/
/* ELIGIBILITY FOR ANY PURPOSES. */
/* (C) Fujitsu Microelectronics (Shanghai) Co., LTD. */
/* Date:20080320 Version:1V0 Author:Levi */
/*-------------------------------------------------------------------------*/
/******************************************************************************
NAME: main.c
FUNCTION: Give a example for HWWDT
Hardware watchdog timer starts automatically after a reset and
cannot be stopped.
The internal time is fixed to 216/FCRL
******************************************************************************/
#include "mb95200.h"
/******************************************************************************
NAME: Delay()
FUNCTION: delay function
****************************************************
(系统自动生成,下载前可以参看下载内容)
下载文件列表
WDT-500013
..........\HWWDT
..........\.....\Debug
..........\.....\.....\ABS
..........\.....\.....\...\HWWDT.abs
..........\.....\.....\...\HWWDT.mhx
..........\.....\.....\HWWDT.sup
..........\.....\.....\LST
..........\.....\.....\...\HWWDT.mp1
..........\.....\.....\OBJ
..........\.....\.....\...\main.obj
..........\.....\.....\...\main.stk
..........\.....\.....\...\mb95200.obj
..........\.....\.....\...\startup.obj
..........\.....\.....\...\vectors.obj
..........\.....\.....\...\vectors.stk
..........\.....\.....\...\_f2mc8fx.obj
..........\.....\.....\...\_f2mc8fx.stk
..........\.....\.....\OPT
..........\.....\.....\...\HWWDT.opa
..........\.....\.....\...\HWWDT.opb
..........\.....\.....\...\HWWDT.opc
..........\.....\.....\...\HWWDT.opl
..........\.....\.....\...\HWWDT.opv
..........\.....\HWWDT.dat
..........\.....\HWWDT.prj
..........\.....\HWWDT.wsp
..........\.....\src
..........\.....\...\ioreg.txt
..........\.....\...\ioregj.txt
..........\.....\...\ioregj_a.txt
..........\.....\...\ioreg_a.txt
..........\.....\...\main.c
..........\.....\...\mb95200.h
..........\.....\...\mb95200_a.inc
..........\.....\...\startup.asm
..........\.....\...\vectors.c
..........\.....\...\_f2mc8fx.c
..........\.....\...\_f2mc8fx.h
..........\.....\...\_f2mc8fx_a.asm
..........\SWWDT
..........\.....\Debug
..........\.....\.....\ABS
..........\.....\.....\...\SWWDT.abs
..........\.....\.....\...\SWWDT.mhx
..........\.....\.....\LST
..........\.....\.....\...\SWWDT.mp1
..........\.....\.....\OBJ
..........\.....\.....\...\main.obj
..........\.....\.....\...\main.stk
..........\.....\.....\...\mb95200.obj
..........\.....\.....\...\startup.obj
..........\.....\.....\...\vectors.obj
..........\.....\.....\...\vectors.stk
..........\.....\.....\...\_f2mc8fx.obj
..........\.....\.....\...\_f2mc8fx.stk
..........\.....\.....\OPT
..........\.....\.....\...\SWWDT.opa
..........\.....\.....\...\SWWDT.opb
..........\.....\.....\...\SWWDT.opc
..........\.....\.....\...\SWWDT.opl
..........\.....\.....\...\SWWDT.opv
..........\.....\.....\SWWDT.sup
..........\.....\src
..........\.....\...\ioreg.txt
..........\.....\...\ioregj.txt
..........\.....\...\ioregj_a.txt
..........\.....\...\ioreg_a.txt
..........\.....\...\main.c
..........\.....\...\mb95200.h
..........\.....\...\mb95200_a.inc
..........\.....\...\startup.asm
..........\.....\...\vectors.c
..........\.....\...\_f2mc8fx.c
..........\.....\...\_f2mc8fx.h
..........\.....\...\_f2mc8fx_a.asm
..........\.....\SWWDT.dat
..........\.....\SWWDT.prj
..........\.....\SWWDT.wsp
..........\HWWDT
..........\.....\Debug
..........\.....\.....\ABS
..........\.....\.....\...\HWWDT.abs
..........\.....\.....\...\HWWDT.mhx
..........\.....\.....\HWWDT.sup
..........\.....\.....\LST
..........\.....\.....\...\HWWDT.mp1
..........\.....\.....\OBJ
..........\.....\.....\...\main.obj
..........\.....\.....\...\main.stk
..........\.....\.....\...\mb95200.obj
..........\.....\.....\...\startup.obj
..........\.....\.....\...\vectors.obj
..........\.....\.....\...\vectors.stk
..........\.....\.....\...\_f2mc8fx.obj
..........\.....\.....\...\_f2mc8fx.stk
..........\.....\.....\OPT
..........\.....\.....\...\HWWDT.opa
..........\.....\.....\...\HWWDT.opb
..........\.....\.....\...\HWWDT.opc
..........\.....\.....\...\HWWDT.opl
..........\.....\.....\...\HWWDT.opv
..........\.....\HWWDT.dat
..........\.....\HWWDT.prj
..........\.....\HWWDT.wsp
..........\.....\src
..........\.....\...\ioreg.txt
..........\.....\...\ioregj.txt
..........\.....\...\ioregj_a.txt
..........\.....\...\ioreg_a.txt
..........\.....\...\main.c
..........\.....\...\mb95200.h
..........\.....\...\mb95200_a.inc
..........\.....\...\startup.asm
..........\.....\...\vectors.c
..........\.....\...\_f2mc8fx.c
..........\.....\...\_f2mc8fx.h
..........\.....\...\_f2mc8fx_a.asm
..........\SWWDT
..........\.....\Debug
..........\.....\.....\ABS
..........\.....\.....\...\SWWDT.abs
..........\.....\.....\...\SWWDT.mhx
..........\.....\.....\LST
..........\.....\.....\...\SWWDT.mp1
..........\.....\.....\OBJ
..........\.....\.....\...\main.obj
..........\.....\.....\...\main.stk
..........\.....\.....\...\mb95200.obj
..........\.....\.....\...\startup.obj
..........\.....\.....\...\vectors.obj
..........\.....\.....\...\vectors.stk
..........\.....\.....\...\_f2mc8fx.obj
..........\.....\.....\...\_f2mc8fx.stk
..........\.....\.....\OPT
..........\.....\.....\...\SWWDT.opa
..........\.....\.....\...\SWWDT.opb
..........\.....\.....\...\SWWDT.opc
..........\.....\.....\...\SWWDT.opl
..........\.....\.....\...\SWWDT.opv
..........\.....\.....\SWWDT.sup
..........\.....\src
..........\.....\...\ioreg.txt
..........\.....\...\ioregj.txt
..........\.....\...\ioregj_a.txt
..........\.....\...\ioreg_a.txt
..........\.....\...\main.c
..........\.....\...\mb95200.h
..........\.....\...\mb95200_a.inc
..........\.....\...\startup.asm
..........\.....\...\vectors.c
..........\.....\...\_f2mc8fx.c
..........\.....\...\_f2mc8fx.h
..........\.....\...\_f2mc8fx_a.asm
..........\.....\SWWDT.dat
..........\.....\SWWDT.prj
..........\.....\SWWDT.wsp