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

📄 reg508x.ho

📁 这是用Labwindows开发的一个RF test程序。 用于日本机种的组装后ANT 测试。
💻 HO
📖 第 1 页 / 共 2 页
字号:
/******************************************************************************/
/* SCCS: %Z% Name: %M% Date US: %G% %U% Ver.: %I% */
/******************************************************************************/
/*F(*************************************************************************** 
 * File name : %M%
 * Project : ROAD RUNNER
 * Module :
 * Date : (US) %G% %U%
 * Version : %I%
 * Compiler name and release(s) :
 *----------------------------------------------------------------------------* 
 *----------------------------------------------------------------------------* 
 *                                    DESCRIPTION
 *
 *----------------------------------------------------------------------------* 
 *----------------------------------------------------------------------------* 
 *                           FUNCTIONS DEFINED IN THIS FILE
 *----------------------------------------------------------------------------* 
 * Name            | Object
 *----------------------------------------------------------------------------* 
 * 
 * This file is an interface between drivers and registers definitions
 * to switch easily from PCF5085 and PCF5087 only thanks to a the switch 
 * PCF5087
 * 
 *----------------------------------------------------------------------------* 
 *----------------------------------------------------------------------------* 
 *                                    EVOLUTION
 *----------------------------------------------------------------------------* 
 * Date     | Author    | Arnb   | Description
 *----------------------------------------------------------------------------* 
 * 25.03.97 | A. ROSAY  | XXYYYY | Creation
 ***************************************************************************)F*/
/* #*/

#ifndef REG508X_HO
#define REG508X_HO


/*inc - INCLUDE
---------------*/
/*
#if defined (PCF5087)
#include "reg5087.ho"
#else
#include "reg5085.ho"
#endif
*/

#include "reg5087.ho"

/*lc - LOCAL CONSTANTS DECLARATION
-----------------------------------*/

/*lm - LOCAL MACROS DEFINITION
------------------------------*/

/*ld - LOCAL LITERAL DEFINITION
--------------------------------*/

/*ls - LOCAL STRUCTURE DEFINITION
----------------------------------*/

/*lp - LOCAL PROCEDURES DECLARATION
------------------------------------*/

/*lv - LOCAL VARIABLES DEFINITION
---------------------------------*/

/* #*/
#if defined (PCF5087)

#define PCF508x_U0SCON1			PCF5087_U0SCON1 			  
#define PCF508x_U0SCON2			PCF5087_U0SCON2 			  
#define PCF508x_U0SCON3			PCF5087_U0SCON3 			  
#define PCF508x_U0SCON4			PCF5087_U0SCON4 			  
#define PCF508x_U0BCON			PCF5087_U0BCON  			  
#define PCF508x_U0BREGH			PCF5087_U0BREGH 			  
#define PCF508x_U0BREGL			PCF5087_U0BREGL 			  
#define PCF508x_U0SBUF			PCF5087_U0SBUF  			  
#define PCF508x_U0RM			PCF5087_U0RM    			  
#if defined(__PCF50872__)
#define PCF508x_U0RM_A			PCF5087_U0RM_A    			  
#endif /* #if defined(__PCF50872__) */

#define PCF508x_U1SCON1			PCF5087_U1SCON1 			  
#define PCF508x_U1SCON2			PCF5087_U1SCON2 			  
#define PCF508x_U1BCON			PCF5087_U1BCON  			  
#define PCF508x_U1BREGH			PCF5087_U1BREGH 			  
#define PCF508x_U1BREGL			PCF5087_U1BREGL 			  
#define PCF508x_U1SBUF			PCF5087_U1SBUF  			  
#if defined(__PCF50872__)
#define PCF508x_U1SCON3			PCF5087_U1SCON3 			  
#define PCF508x_U1SCON4			PCF5087_U1SCON4 			  
#define PCF508x_U1RM			PCF5087_U1RM    			  
#define PCF508x_U1RM_A			PCF5087_U1RM_A    			  
#endif /* #if defined(__PCF50872__) */

#define PCF508x_OOLC                    PCF5087_OOLC 
#define PCF508x_STOP 		        PCF5087_STOP 
#define PCF508x_WDTIM		        PCF5087_WDTIM

#define PCF508x_PIOS                    PCF5087_PIOS    
#define PCF508x_SPI     	        PCF5087_SPI     
#define PCF508x_SPO     	        PCF5087_SPO     

#define PCF508x_GPIOCON                 PCF5087_GPIOCON
#define PCF508x_GPIODIR		        PCF5087_GPIODIR
#define PCF508x_GPIODAT		        PCF5087_GPIODAT
#define	PCF508x_SYSCON                  PCF5087_SYSCON

#define PCF508x_CS0N                    PCF5087_CS0N
#define PCF508x_CS1N		        PCF5087_CS1N
#define PCF508x_CS2N		        PCF5087_CS2N
#define PCF508x_CS3N		        PCF5087_CS3N

#define PCF508x_PDCUC                   PCF5087_PDCUC
#define PCF508x_GPON0		        PCF5087_GPON0
#define PCF508x_GPON1		        PCF5087_GPON1
#define PCF508x_GPON2		        PCF5087_GPON2
#define PCF508x_CGUC		        PCF5087_CGUC
#define PCF508x_QBC		        PCF5087_QBC

#define PCF508x_SETINT                  PCF5087_SETINT 
#define PCF508x_IER     		PCF5087_IER    
#define	PCF508x_LIR0                    PCF5087_LIR0
#define	PCF508x_LIR1                    PCF5087_LIR1
#define	PCF508x_LIR2                    PCF5087_LIR2
#define	PCF508x_LIR3                    PCF5087_LIR3
#define PCF508x_IMR                     PCF5087_IMR     
#define PCF508x_EBA     		PCF5087_EBA     
#define PCF508x_IID_FIQ 		PCF5087_IID_FIQ 
#define PCF508x_IID_IRQ 		PCF5087_IID_IRQ 
#define PCF508x_PIR     		PCF5087_PIR     
#define PCF508x_ICR     		PCF5087_ICR     

#define PCF508x_SICR0                   PCF5087_SICR0
#define PCF508x_SISR0                   PCF5087_SISR0
#define PCF508x_SIRXO                   PCF5087_SIRXO  
#define PCF508x_SITXI   		PCF5087_SITXI  
#define PCF508x_SIUPSR0 		PCF5087_SIUPSR0
#define PCF508x_SISPVR0 		PCF5087_SISPVR0

#define PCF508x_UA0TXCNTRLSTAT          PCF5087_UA0TXCNTRLSTAT  
#define PCF508x_UA0TXCNTRLSTATADDR      PCF5087_UA0TXCNTRLSTATADDR
#define PCF508x_UA0TXCNT        	PCF5087_UA0TXCNT        
#define PCF508x_UA0TXPOINT      	PCF5087_UA0TXPOINT      
#define PCF508x_UA0RXCNTRLSTAT  	PCF5087_UA0RXCNTRLSTAT  
#define PCF508x_UA0RXCNTRLSTATADDR  	PCF5087_UA0RXCNTRLSTATADDR
#define PCF508x_UA0RXCNT        	PCF5087_UA0RXCNT        
#define PCF508x_UA0RXPOINT      	PCF5087_UA0RXPOINT      
#define PCF508x_UA1TXCNTRLSTAT  	PCF5087_UA1TXCNTRLSTAT  
#define PCF508x_UA1TXCNTRLSTATADDR      PCF5087_UA1TXCNTRLSTATADDR
#define PCF508x_UA1TXCNT        	PCF5087_UA1TXCNT        
#define PCF508x_UA1TXPOINT      	PCF5087_UA1TXPOINT      
#define PCF508x_UA1RXCNTRLSTAT  	PCF5087_UA1RXCNTRLSTAT  
#define PCF508x_UA1RXCNTRLSTATADDR  	PCF5087_UA1RXCNTRLSTATADDR
#define PCF508x_UA1RXCNT        	PCF5087_UA1RXCNT        
#define PCF508x_UA1RXPOINT      	PCF5087_UA1RXPOINT      
#define PCF508x_SIMCNTRLSTAT    	PCF5087_SIMCNTRLSTAT    
#define PCF508x_SIMCNTRLSTATADDR    	PCF5087_SIMCNTRLSTATADDR    
#define PCF508x_SIMCNT           	PCF5087_SIMCNT          
#define PCF508x_SIMPOINT        	PCF5087_SIMPOINT        
#define PCF508x_IICCNTRLSTAT   		PCF5087_IICCNTRLSTAT    
#define PCF508x_IICCNTRLSTATADDR       	PCF5087_IICCNTRLSTATADDR    
#define PCF508x_IICCNT         		PCF5087_IICCNT          
#define PCF508x_IICPOINT       		PCF5087_IICPOINT        
#define MC_PCF508x_ENABLE_DMA_CTRLSTAT   	MC_PCF5087_ENABLE_DMA_CTRLSTAT        
#define MC_PCF508x_DISABLE_DMA_CTRLSTAT   	MC_PCF5087_DISABLE_DMA_CTRLSTAT        

#define PCF508x_TIMCR                   PCF5087_TIMCR
#define PCF508x_TIMRR			PCF5087_TIMRR
#define PCF508x_TIMWR			PCF5087_TIMWR
#define PCF508x_TIMC0			PCF5087_TIMC0
#define PCF508x_TIMC1			PCF5087_TIMC1
#define PCF508x_TIMC2			PCF5087_TIMC2
#define PCF508x_TIMC3			PCF5087_TIMC3
#define PCF508x_TIMSR			PCF5087_TIMSR
#define PCF508x_TIMPR			PCF5087_TIMPR

#define PCF508x_TIM0CR                  PCF5087_TIMCR
#define PCF508x_TIM0RR			PCF5087_TIMRR
#define PCF508x_TIM0WR			PCF5087_TIMWR
#define PCF508x_TIM0C0			PCF5087_TIMC0
#define PCF508x_TIM0C1			PCF5087_TIMC1
#define PCF508x_TIM0C2			PCF5087_TIMC2
#define PCF508x_TIM0C3			PCF5087_TIMC3
#define PCF508x_TIM0SR			PCF5087_TIMSR

⌨️ 快捷键说明

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