ps40400.h

来自「ARM入门的好帮手.包含了从简单到相对较复杂的程序.」· C头文件 代码 · 共 41 行

H
41
字号
//*----------------------------------------------------------------------------
//*         ATMEL Microcontroller Software Support  -  ROUSSET  -
//*----------------------------------------------------------------------------
//* The software is delivered "AS IS" without warranty or condition of any
//* kind, either express, implied or statutory. This includes without
//* limitation any warranty or condition with respect to merchantability or
//* fitness for any particular purpose, or against the infringements of
//* intellectual property rights of others.
//*----------------------------------------------------------------------------
//* File Name           : ps40400.h
//* Object              : Power Saving Header File.
//*
//* 1.0 01/04/00 JCZ    : Creation
//*----------------------------------------------------------------------------

#ifndef ps40400_h
#define ps40400_h

/*--------------------------------------------------*/
/* Power Saving User Interface Structure Definition */
/*--------------------------------------------------*/
typedef struct
{
    at91_reg    PS_CR ;     /* Control Register */

} StructPS ;

/*------------------------------------------------------*/
/* PS_CR: Power Saving Control Register Bits Definition */
/*------------------------------------------------------*/

#define PS_ARM7DIS          0x1

/*---------------------------*/ 
/* Power Saving Base Address */
/*---------------------------*/ 

#define PS_BASE         (( StructPS *) 0xFFFF4000)

#endif /* ps40400_h */

⌨️ 快捷键说明

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