📄 omap3_wdog.h
字号:
//
// Copyright (c) Special Computing. All rights reserved.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Texas Instruments Corporation. All rights reserved.
//
//------------------------------------------------------------------------------
//
// File: omap3_wdog.h
//
// This file contains offset addresses for WatchDog registers.
//
//------------------------------------------------------------------------------
#ifndef __OMAP3_WDOG_H
#define __OMAP3_WDOG_H
#if __cplusplus
extern "C" {
#endif
//------------------------------------------------------------------------------
// Base Address : OMAP3_WDOG1_REGS_PA
// OMAP3_WDOG2_REGS_PA
// OMAP3_WDOG3_REGS_PA
//
//------------------------------------------------------------------------------
typedef volatile struct {
UINT32 ulRESERVED_1[4]; // offset 0x0000,
UINT32 ulWD_SYSCONFIG; // offset 0x0010, WD_SYSCONFIG
UINT32 ulWD_SYSSTATUS; // offset 0x0014, WD_SYSSTATUS
UINT32 ulWISR; // offset 0x0018, WISR
UINT32 ulWIER; // offset 0x001C, WIER
UINT32 ulRESERVED_0x20;
UINT32 ulWCLR; // offset 0x0024, WCLR
UINT32 ulWCRR; // offset 0x0028, WCRR
UINT32 ulWLDR; // offset 0x002C, WLDR
UINT32 ulWTGR; // offset 0x0030, WTGR
UINT32 ulWWPS; // offset 0x0034, WLDR
UINT32 ulRESERVED_2[4];
UINT32 ulWSPR; // offset 0x0038, WSPR
} OMAP3_WDOG_REGS;
#define OMAP3_WDOG_DISABLE_SEQ1 0x0000AAAA
#define OMAP3_WDOG_DISABLE_SEQ2 0x00005555
#define OMAP3_WDOG_ENABLE_SEQ1 0x0000BBBB
#define OMAP3_WDOG_ENABLE_SEQ2 0x00004444
//------------------------------------------------------------------------------
#if __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -