nxt_spi.h
来自「专业汽车级嵌入式操作系统OSEK的源代码」· C头文件 代码 · 共 22 行
H
22 行
#ifndef __NXT_SPI_H__# define __NXT_SPI_H__# include "mytypes.h"/* * Note that this is not a normal SPI interface, * it is a bodged version as used by the NXT's * display. * * The display does not use MISO because you can * only write to it in serial mode. * * Instead, the MISO pin is not used by the SPI * and is instead driven as a PIO pin for controlling CD. */void nxt_spi_init(void);void nxt_spi_write(U32 CD, const U8 *data, U32 nBytes);#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?