spi.h
来自「SPI是一种新代的串口驱动。这是linux下的」· C头文件 代码 · 共 25 行
H
25 行
#ifndef _LINUX_SPI_H#define _LINUX_SPI_H#define SEL_SPI_CPOL_0 1#define SEL_SPI_CPOL_1 2#define SEL_UWIRE_CPOL_0 3#define SEL_UWIRE_CPOL_1 4/* * the value written to ports to test existence. PC-style ports will * return the value written. AT-style ports will return 0. so why not * make them the same ? */#define LP_DUMMY 0x00#ifndef MODULE/* * function prototypes */extern long spi_init(long);#endif /* MODULE */#endif /* _LINUX_SPI_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?