?? spi.h
字號:
/* ***********************************************************************
Copyright (c) 2002-2006 Beyond Innovation Technology Co., Ltd
All rights are reserved. Reproduction in whole or in parts is
prohibited without the prior written consent of the copyright owner.
----------------------------------------------------------------------
Module: SPI.H
Purpose: Interface of SPI module.
Version: 0.01 03:20PM 2005/08/22
Compiler: Keil 8051 C Compiler v8.01
Reference:
----------------------------------------------------------------------
Modification:
R0.01 03:20PM 2005/08/22 Jeffrey Chang
Reason:
1. Original.
Solution:
*********************************************************************** */
#ifndef _SPI_H_
#define _SPI_H_
/* ------------------------------------
Header Files
------------------------------------ */
#include "platform.h"
/* ------------------------------------
Macro Definition
------------------------------------ */
#undef EXTERN
#ifdef _SPI_C_
#define EXTERN
#else
#define EXTERN extern
#endif
/* ------------------------------------
Type Definitions
------------------------------------ */
/* ------------------------------------
Variables Definitions/Declarations
------------------------------------ */
/* ------------------------------------
Function Prototypes
------------------------------------ */
EXTERN void SPI_Init(void);
EXTERN void SPI_PowerOff(void);
EXTERN void SPI_PowerOn(void);
EXTERN void SPI_TxByte(UB8 bReg, UB8 bData);
#endif /* _SPI_H_ */
/* **********************************************************************
Description:
********************************************************************** */
/* %% End Of File %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -