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

📄 register_addr.h

📁 s3c6400 ADS下官方测试程序
💻 H
字号:
/**************************************************************************************
* 
*	Project Name : S3C6400 Validation
*
*	Copyright 2006 by Samsung Electronics, Inc.
*	All rights reserved.
*
*	Project Description :
*		This software is only for validating functions of the S3C6400.
*		Anybody can use this software without our permission.
*  
*--------------------------------------------------------------------------------------
* 
*	File Name : register_addr.h
*  
*	File Description : This file defines the register address to test 
*                      Register Read&Write
*
*	Author : Heemyung.Noh
*	Dept. : AP Development Team
*	Created Date : 2007/02/07
*	Version : 0.1 
* 
*	History
*	- Created(Heemyung.Noh 2007/02/07)
*  
**************************************************************************************/
#ifndef __REGISTER_ADDR_H__
#define __REGISTER_ADDR_H__

#ifdef __cplusplus
extern "C" {
#endif

#include "sfr6400.h"
#include "def.h"

// Register Read&Write Test
#define		RO			(0x00)
#define		WO			(0x01)
#define		RW			(0x11)
#define		DPDB		(0x00)		//Default Pattern,		Default BitMask
#define		DPPB		(0x01)		//Default Pattern, 		Private BitMask
#define		PPDB		(0x10)		//Private Pattern, 		Default BitMask
#define		PPPB		(0x11)		//Private Pattern, 		Private BitMask

typedef  struct st_REG
{
	s8 name[64];
	u32 uAddr;
	u8 uBitLen;
	u8 uRWType;	
	u8 uFlag;						//Option Flag(DPDB, DPPB, PPDB PPPB)
	u32 uPrivateBitMask;
	u32 rValue;	
}REGINFO;


void RPRINTF(REGINFO sReg, u32 uPattern, u8 uRegStatus, s32 Nth,u8 uInDetail);
void TestSFR(void);

#ifdef __cplusplus
}
#endif

#endif /*__LIBRARY_H__*/

⌨️ 快捷键说明

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