spi1ce.h

来自「NEC78f0892 SPI single」· C头文件 代码 · 共 64 行

H
64
字号

/**************************** .FILE_HEADER_BEGIN *****************************
  .TITLE  [ SPI display data communication control										 ]
*----------------------------------------------------------------------------
  .FILE   [ spi1ce.h                                                        ]
  .AUTHOR [ Leon                                                       ]
*-----------------------------------------------------------------------------
  .CONTENTS  (Will be filled by MAS-SoftDoc)
   *** Functions / Macros ***      *** Title ***
 
*-----------------------------------------------------------------------------
  .INCLUDE_REFERENCES  (Will be filled by MAS-SoftDoc)
   *** Program Includefiles ***
 
   *** External Includefiles ***

   *** Included by ***

*-----------------------------------------------------------------------------
  .REVISION_LIST  (Will be filled by PVCS)
   Archive: $Log:     $
// 
//    Rev 1.0   Jun 22 2007 14:50 Leon
// Initial revision.
   


****************************** .FILE_HEADER_END ******************************/

/*****************************************************************************
* Check if informations are already included
	Last change: EB 18.02.04 12:16:51
******************************************************************************/

#ifndef SPI1CE_H
#define SPI1CE_H

/******************************************************************************
* HEADER-FILES (Only those that are needed in this file)
******************************************************************************/
/* System-headerfiles */

/* Foreign headerfiles */

/* Own headerfiles */

/******************************************************************************
* GLOBAL CONFIGURATION
******************************************************************************/

#define	SPI_Bus_Busy		1				//SPI bus is busy
#define SPI_Bus_Free			0				//SPI bus is not busy

#define SPI_Updata_Allow		1		//allow MMI updata display datum
#define SPI_Updata_Forbid	0		//forbid MMI updata display datum
#define SPI_Array_Max		6				//the value is for C301, if A501, this value is 7


/*****************************************************************************
* End of check if informations are already included
******************************************************************************/
#endif                                  /* ifndef ACCC1CE_H */

⌨️ 快捷键说明

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