⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 its_spi.h

📁 program show the communication of CC100-MSP430
💻 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 + -