its_spi.h
来自「program show the communication of CC100-」· C头文件 代码 · 共 32 行
H
32 行
/***********************************************************************************
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 + =
减小字号Ctrl + -
显示快捷键?