system.h
来自「USART的驱动程序」· C头文件 代码 · 共 32 行
H
32 行
/*************************************************************************************
* 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 + =
减小字号Ctrl + -
显示快捷键?