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

📄 nxt_spi.h

📁 专业汽车级嵌入式操作系统OSEK的源代码
💻 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 + -