?? tsc2046spi.h
字號:
/**************************************************************/
//
// Copyright (c) Texas Instruments 2005. All rights reserved.
//
/***************************************************************
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR
FITNESS FOR A PARTICULAR PURPOSE.
Module Name:
TSC2046SPI.H
Abstract:
This header file contains the function prototypes
to the SPI for interfacing with TI's TSC2046 device.
Functions:
Revision History:
Rev 0.0 Original Release WXF 9-30-2005
***************************************************************/
#ifndef __TSC2046SPI_H__
#define __TSC2046SPI_H__
#ifdef __cplusplus
extern "C"{
#endif
//
//--------------------------------------------------------------
// SPI Core Functions
//--------------------------------------------------------------
//
BOOL InitSPI(BOOL bInPowerHandler);
BOOL DeinitSPI(BOOL bInPowerHandler);
//
//--------------------------------------------------------------
// SPI Tx/Rx Functions
//--------------------------------------------------------------
//
UINT16 SPITransaction(UINT8 Command, BOOL bInPowerHandler);
#ifdef __cplusplus
}
#endif
#endif //__TSC2046SPI_H__
//**************************************************************
//
// END of FILE
//
//**************************************************************
////////////////////////////////////////////////////////////////
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -