s3c2410x_pwm.h

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

H
62
字号
//
// 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_pwm.h
//
//  Defines the PWM Timer register layout and associated types and constants.
//
#ifndef __S3C2410X_PWM_H
#define __S3C2410X_PWM_H

#if __cplusplus
extern "C" {
#endif

//------------------------------------------------------------------------------
//
//  Type:  S3C2410X_PWM_REG
//
//  Defines the PWM Timer control register layout. This register bank is 
//  located by the constant S3C2410X_BASE_REG_XX_PWM in the configuration file
//  s3c2410x_base_reg_cfg.h.
//
typedef struct  {
    UINT32 TCFG0;
    UINT32 TCFG1;
    UINT32 TCON;
    UINT32 TCNTB0;
    UINT32 TCMPB0;
    UINT32 TCNTO0;
    UINT32 TCNTB1;
    UINT32 TCMPB1;
    UINT32 TCNTO1;
    UINT32 TCNTB2;
    UINT32 TCMPB2;
    UINT32 TCNTO2;
    UINT32 TCNTB3;
    UINT32 TCMPB3;
    UINT32 TCNTO3;
    UINT32 TCNTB4;
    UINT32 TCNTO4;

} S3C2410X_PWM_REG, *PS3C2410X_PWM_REG;

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

#if __cplusplus
}
#endif

#endif 

⌨️ 快捷键说明

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