spi.h
来自「Bitek 公司 bit1611b模拟屏驱动芯片外接MCU驱动DEMO源码」· C头文件 代码 · 共 81 行
H
81 行
/* ***********************************************************************
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 + =
减小字号Ctrl + -
显示快捷键?