spi.h
来自「同步串口SPI接口转成异步RS-232」· C头文件 代码 · 共 19 行
H
19 行
/*********************************************************************************************/
/* Program : SPI.H */
/* Function : SPI Utility Procedures Header File */
/* Author : John F. Fitter B.E. */
/* */
/* Copyright ? 1998 Eagle Air Australia Pty. Ltd. All rights reserved */
/*********************************************************************************************/
#ifndef _SPI_H
#define _SPI_H
// Function prototypes
extern void setup_spi(unsigned char mode);
extern void spi_write(unsigned char txdata);
extern unsigned char spi_read(unsigned char txdata);
#endif // _SPI_H
// ***** EOF SPI.H *****
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?