📄 mcf5445x_wtm.h
字号:
/* * File: mcf5445x_wtm.h * Purpose: Register and bit definitions */#ifndef __MCF5445X_WTM_H__#define __MCF5445X_WTM_H__/*********************************************************************** Watchdog Timer Modules (WTM)**********************************************************************//* Register read/write macros */#define MCF_WTM_WCR (*(vuint16*)(0xFC098000)) #define MCF_WTM_WMR (*(vuint16*)(0xFC098002)) #define MCF_WTM_WCNTR (*(vuint16*)(0xFC098004)) #define MCF_WTM_WSR (*(vuint16*)(0xFC098006)) /* Bit definitions and macros for WCR */#define MCF_WTM_WCR_EN (0x0001) #define MCF_WTM_WCR_HALTED (0x0002) #define MCF_WTM_WCR_DOZE (0x0004) #define MCF_WTM_WCR_WAIT (0x0008) /* Bit definitions and macros for WMR */#define MCF_WTM_WMR_WM(x) (x) /* Bit definitions and macros for WCNTR */#define MCF_WTM_WCNTR_WC(x) (x) /* Bit definitions and macros for WSR */#define MCF_WTM_WSR_WS(x) (x) /********************************************************************/#endif /* __MCF5445X_WTM_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -