📄 nxt_spi.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -