?? spi.h
字號:
/****************************************Copyright (c)**************************************************
**--------------File Info-------------------------------------------------------------------------------
** File name: SPI.H
** Last modified Date:2007-12-20
** Last Version: 1.0
** Descriptions: SPI數(shù)據(jù)操作
**------------------------------------------------------------------------------------------------------
** Created by: Rein Lee
** Created date: 2007-12-20
** Version: 1.0
** Descriptions: The original version
**------------------------------------------------------------------------------------------------------
** Modified by:
** Modified date:
** Version:
** Descriptions:
********************************************************************************************************/
#ifndef SPIDRV_H
#define SPIDRV_H
/*********************************************************************************************************
** 函數(shù)名稱: MSpiIni()
** 功能描述: 初始化SPI接口,設(shè)置為主
** 輸 入: 無
** 輸 出: 無
** 全局變量: 無
** 調(diào)用模塊: 無
**------------------------------------------------------------------------------------------------------
** Created by Rein Lee
** Created date: 2007-12-20
**------------------------------------------------------------------------------------------------------
** Modified by:
** Modified date:
**------------------------------------------------------------------------------------------------------
********************************************************************************************************/
void MSpiIni(void);
/*********************************************************************************************************
** 函數(shù)名稱: MSendData()
** 功能描述: 向SPI總線發(fā)送數(shù)據(jù)
** 輸 入: 待發(fā)送的數(shù)據(jù)
** 輸 出: 返回發(fā)送的數(shù)據(jù)
** 全局變量: 無
** 調(diào)用模塊: 無
**------------------------------------------------------------------------------------------------------
** Created by Rein Lee
** Created date: 2007-12-20
**------------------------------------------------------------------------------------------------------
** Modified by:
** Modified date:
**------------------------------------------------------------------------------------------------------
********************************************************************************************************/
uint8 MSendData(uint8 data);
#endif
/*********************************************************************************************************
** End Of File
********************************************************************************************************/
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -