s3c2410x_wdog.h

来自「Windows CE documentation and examples fr」· C头文件 代码 · 共 50 行

H
50
字号
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this sample source code is subject to the terms of the Microsoft
// license agreement under which you licensed this sample source code. If
// you did not accept the terms of the license agreement, you are not
// authorized to use this sample source code. For the terms of the license,
// please see the license agreement between you and Microsoft or, if applicable,
// see the LICENSE.RTF on your install media or the root of your tools installation.
// THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES.
//
//------------------------------------------------------------------------------
//
//  Header:  s3c2410x_wdog.h
//
//  Defines the Watchdog Timer register layout and associated types 
//  and constants.
//
#ifndef __S3C2410X_WDOG_H
#define __S3C2410X_WDOG_H

#if __cplusplus
extern "C" {
#endif

//------------------------------------------------------------------------------
//
//  Type:  S3C2410X_WATCHDOG_REG    
//
//  Watchdog timer control registers. This register bank is located by the 
//  constant S3C2410X_BASE_REG_XX_WATCHDOG in the configuration file 
//  s3c2410x_reg_base_cfg.h.
//

typedef struct {
    UINT32 WTCON;               // timer control reg
    UINT32 WTDAT;               // timer data reg
    UINT32 WTCNT;               // timer count reg

} S3C2410X_WATCHDOG_REG, *PS3C2410X_WATCHDOG_REG;

//------------------------------------------------------------------------------

#if __cplusplus
    }
#endif

#endif 

⌨️ 快捷键说明

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