s3c6410_adc.h

来自「SAMSUNG S3C6410 CPU BSP for winmobile6」· C头文件 代码 · 共 57 行

H
57
字号
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
//------------------------------------------------------------------------------
//
//  Header: s3c6410_adc.h
//
//  Defines the analog to digital (ADC) controller CPU register layout and
//  definitions.
//
#ifndef __S3C6410_ADC_H
#define __S3C6410_ADC_H

#if __cplusplus
extern "C" {
#endif

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

typedef struct
{
	UINT32 ADCCON;		// 0x00
	UINT32 ADCTSC;		// 0x04
	UINT32 ADCDLY;		// 0x08
	UINT32 ADCDAT0;		// 0x0c

	UINT32 ADCDAT1;		// 0x10
	UINT32 ADCUPDN;	// 0x14
	UINT32 ADCCLRINT;	// 0x18
	UINT32 PAD0;		// 0x1c

	UINT32 ADCCLRWK;	// 0x20
	UINT32 PAD1[3];		// 0x24~0x2f
} S3C6410_ADC_REG, *PS3C6410_ADC_REG;

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

#if __cplusplus
    }
#endif

#endif

⌨️ 快捷键说明

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