tsc2046spi.h
来自「TI TCS2046 Toutch PAD IC Driver for Wind」· C头文件 代码 · 共 59 行
H
59 行
/**************************************************************/
//
// 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 + =
减小字号Ctrl + -
显示快捷键?