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

📄 ps.h

📁 rs485的通信程序的主程序。采用at91sam7a3芯片编写的。
💻 H
字号:
/***********************************************************************/
/*  This file is part of the uVision/ARM development tools             */
/*  Copyright KEIL ELEKTRONIK GmbH 2002-2003                           */
/***********************************************************************/
/*                                                                     */
/*  PS.H:  Header file for Power Saving                                */
/*                                                                     */
/***********************************************************************/

#ifndef __PS_H
#define __PS_H


/*--------------*/
/* PS Registers */
/*--------------*/
#define PS_CR      REG(PS_BASE + 0x00) /* Control Register */
#ifndef AT91M40400
#define PS_PCER    REG(PS_BASE + 0x04) /* Peripheral Clock Enable  Register */
#define PS_PCDR    REG(PS_BASE + 0x08) /* Peripheral Clock Disable Register */
#define PS_PCSR    REG(PS_BASE + 0x0C) /* Peripheral Clock Status  Register */
#endif


/*-------------------------*/
/* PS_CR: Control Register */
/*-------------------------*/
#define PS_ARM7DIS         (1<<0)


#endif /* __PS_H */

⌨️ 快捷键说明

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