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

📄 system.h

📁 USART的驱动程序
💻 H
字号:
/*************************************************************************************
*	Copyright (c) 2005 by National ASIC System Engineering Research Center.
*	PROPRIETARY RIGHTS of ASIC are involved in the subject matter of this 
*	material.  All manufacturing, reproduction, use, and sales rights 
*	pertaining to this subject matter are governed by the license agreement.
*	The recipient of this software implicitly accepts the terms of the license.
*
*	File Name: system.h
*
*	File Description:
*			The file define some macro definition used in system.c file.
*		
*	Created by Michael <yuyu_zh@seu.edu.cn>, 2005-03-22
**************************************************************************************/

#ifndef SYSTEM_H
#define SYSTEM_H

/* definition of register address */
#define		PMU_BASE	0x10001000
       		
#define		PMU_PLTR	(PMU_BASE+0X00)
#define		PMU_PMCR	(PMU_BASE+0X04)
#define		PMU_PUCR	(PMU_BASE+0X08)
#define		PMU_PCSR	(PMU_BASE+0X0C)	//pcsr
#define		PMU_PMDR	(PMU_BASE+0X14)

/* declaration of function */
void pmc_init(U32 sysclk, U32 module);
void system_init(void);

#endif

⌨️ 快捷键说明

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