if_gspi.h

来自「此压缩包为杰得开发得z228的BSP的源代码,可以实现很多功能,尤其是视频解码有」· C头文件 代码 · 共 42 行

H
42
字号

#ifndef IF_GSPI_H
#define IF_GSPI_H

/*
IF_BUS_CONFIG: A fragment to config the bus
*/
#define IF_BUS_CONFIG  { \
			g_spi_dummy_clk_reg = 0x01; \
			g_spi_dummy_clk_data = 0x01; \
			PrepareAndSendCommand( \
					Adapter, \
					HostCmd_CMD_GSPI_BUS_CONFIG, \
					HostCmd_ACT_GEN_SET, \
					HostCmd_OPTION_USE_INT, \
					(NDIS_OID)0, \
					HostCmd_PENDING_ON_NONE, \
					0, \
					FALSE, \
					NULL, \
					NULL, \
					NULL, \
					NULL); \
		}

/*
IF_RELEASE_CPU_TIME: Not used for GSPI interface
*/
#define IF_RELEASE_CPU_TIME 

/*
IF_WAITING_FW_BOOTUP: Wait for firmware to boot-up
*/
#define IF_WAITING_FW_BOOTUP   50

/*
IF_WAITING_GET_HW_SPEC_READY: Wait to get the H/W specification
*/
#define IF_WAITING_GET_HW_SPEC_READY  2500


#endif ///IF_GSPI_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?