📄 watchdog.h
字号:
/*----------------------------------------------------------------------------+
| |
| Texas Instruments |
| |
| Watchdog Header File |
| |
+-----------------------------------------------------------------------------+
| Source: watchdog.h v01.00 2001/06/19 10:44:39 |
| Author: Horng-Ming Lobo Tai lobotai@ti.com |
| Header: (none) |
| |
| For more information, please contact |
| |
| Lobo Tai |
| Texas Instruments |
| 12500 TI BLVD, MS 8761 |
| Dallas, TX 75243 |
| USA |
| |
| Tel 214-480-3145 |
| Fax 214-480-3443 |
| |
| Logs: |
| |
| WHO WHEN WHAT |
| --- -------- ----------------------------------------------------- |
| HMT 20010619 born |
| |
+----------------------------------------------------------------------------*/
#ifndef _WATCHDOG_H_
#define _WATCHDOG_H_
#ifdef __cplusplus
extern "C"
{
#endif
/*----------------------------------------------------------------------------+
| Include files |
+----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------+
| Function Prototype |
+----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------+
| Type Definition & Macro |
+----------------------------------------------------------------------------*/
// register is not defined yet
#define DISABLE_WATCHDOG bWDCSR = 0x2a
#define RESET_WATCHDOG bWDCSR |= WDCSR_WDT
//#define RESET_WATCHDOG
/*----------------------------------------------------------------------------+
| Constant Definition |
+----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------+
| End of header file |
+----------------------------------------------------------------------------*/
#ifdef __cplusplus
}
#endif
#endif /* _WATCHDOG_H_ */
/*------------------------ Nothing Below This Line --------------------------*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -