sp805.h

来自「ARM9基于WINDOWSCE的BSP源代码」· C头文件 代码 · 共 52 行

H
52
字号
/*
*   The content of this file or document is CONFIDENTIAL and PROPRIETARY
*   to Jade Technologies Co., Ltd.  It is subjected to the terms of a
*   License Agreement between Licensee and Jade Technologies Co., Ltd.
*   restricting among other things, the use, reproduction, distribution
*   and transfer.  Each of the embodiments, including this information 
*   and any derivative work shall retain this copyright notice.
* 
*   Copyright (c) 2004 - 2005 Jade Technologies Co., Ltd. 
*   All rights reserved.
*/
// ----------------------------------------------------------------
// File:     sp805.h,v
// Revision: 1.0
// ----------------------------------------------------------------
// $ 
//

// sp805.h - Watchdog

#ifndef sp805_h
#define sp805_h

// Structure to access Watchdog hardware registers 

typedef volatile struct TAG_WDOG_REGS
{
    DWORD Load;                 /* Base + 0x000 */
    const DWORD Value;          /* Base + 0x004 */ 
    DWORD Control;              /* Base + 0x008 */
    DWORD IntClr;               /* Base + 0x00C */
    const DWORD RIS;            /* Base + 0x010 */
    const DWORD MIS;            /* Base + 0x014 */
    const DWORD Padding0[762];  /* Base + 0x018 */
    DWORD Lock;                 /* Base + 0xC00 */
    const DWORD Padding1[191];  /* Base + 0xC04 */
    DWORD ITCR;                 /* Base + 0xF00 */
    DWORD ITOP;                 /* Base + 0xF04 */
    const DWORD Padding2[54];   /* Base + 0xF08 */
    const DWORD PeriphID0;      /* Base + 0xFE0 */
    const DWORD PeriphID1;      /* Base + 0xFE4 */
    const DWORD PeriphID2;      /* Base + 0xFE8 */
    const DWORD PeriphID3;      /* Base + 0xFEC */
    const DWORD PCellID0;       /* Base + 0xFF0 */
    const DWORD PCellID1;       /* Base + 0xFF4 */
    const DWORD PCellID2;       /* Base + 0xFF8 */
    const DWORD PCellID3;       /* Base + 0xFFC */

} vstWDOGRegs, *pvstWDOGRegs;

#endif // sp805_h

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?