⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 s3c2410x_adc.h

📁 Windows CE documentation and examples from the Windows CE development manuals. There are lots of exa
💻 H
字号:
//
// 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_adc.h
//
//  Defines the analog to digital (ADC) controller CPU register layout and 
//  definitions.
//
#ifndef __S3C2410X_ADC_H
#define __S3C2410X_ADC_H

#if __cplusplus
extern "C" {
#endif

//------------------------------------------------------------------------------
//
//  Type: S3C2410X_ADC_REG    
//
//  Defines the A/D converter's control register block. This register bank is
//  located by the constant S3C2410X_BASE_REG_ADC in configuration file 
//  s3c2410_base_reg_cfg.h.
//

typedef struct {
    UINT32 ADCCON;                      // control register
    UINT32 ADCTSC;                      // touch screen control register
    UINT32 ADCDLY;                      // start or interval delay register
    UINT32 ADCDAT0;                     // conversion data register 0
    UINT32 ADCDAT1;                     // conversion data register 1
} S3C2410X_ADC_REG, *PS3C2410X_ADC_REG;        

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

#if __cplusplus
    }
#endif

#endif 

⌨️ 快捷键说明

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