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