📄 its_spi.h
字号:
/***********************************************************************************
Filename: ITS_spi.h
Copyright 2007 Texas Instruments, Inc.
***********************************************************************************/
#ifndef HAL_SPI_H
#define HAL_SPI_H
#ifdef __cplusplus
extern "C" {
#endif
#include "ITS_types.h"
//----------------------------------------------------------------------------------
// Function declarations
//----------------------------------------------------------------------------------
void ITSSpiInit(uint8 clockrate);
uint8 ITSSpiRead(uint8 addr, uint8* data, uint16 len);
uint8 ITSSpiWrite(uint8 addr, const uint8* data, uint16 len);
uint8 ITSSpiStrobe(uint8 cmd);
#ifdef __cplusplus
}
#endif
/**********************************************************************************/
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -