📄 host_if_hid.h
字号:
//---------------------------------------------------------------------------
//Copyright (C) 2006, Freescale Semiconductor, Inc. All Rights Reserved.
// THIS SOURCE CODE, AND ITS USE AND DISTRIBUTION, IS SUBJECT TO THE TERMS
// AND CONDITIONS OF THE APPLICABLE LICENSE AGREEMENT
//--------------------------------------------------------------------------
//
// File: host_if_hid.h
// Header file for platform specific SDIO WLAN functions
//------------------------------------------------------------------------------
#ifndef HOST_IF_HID_INCLUDED
#define HOST_IF_HID_INCLUDED
#include "wb_types.h"
/***************************************************************************/
/*** Types and Defines ***/
/***************************************************************************/
#define HOST_MAGIC 0xBEADFEED
/***************************************************************************/
/*** Message IDs ***/
/***************************************************************************/
/*
* These messages are one-way and only send during initialisation to transfer
* Message Control Structures from the HIM to the Host.
* Refer to msgid.h
*/
#define HOST_MAN_TRANSFER_CFM 0x1300 /*(MSG_CFM + MSG_MAC_CLIENT_COMP + UMI_MAN_MSG + 0)*/
#define HOST_DAT_TRANSFER_CFM 0x1340 /*(MSG_CFM + MSG_MAC_CLIENT_COMP + UMI_DAT_MSG + 0)*/
#define HOST_DBG_TRANSFER_CFM 0x13c0 /*(MSG_CFM + MSG_MAC_CLIENT_COMP + UMI_DBG_MSG + 0)*/
/***************************************************************************/
/*** Message Structures ***/
/***************************************************************************/
/***************************************************************************
**
** NAME HOST_DAT_TRANSFER_CFM
** HOST_MAN_TRANSFER_CFM
** HOST_DBG_TRANSFER_CFM
**
** PARAMETERS None.
**
** DESCRIPTION These message will be sent by the HIM to the Host to transfer
** Message Buffers to the Host for use by the host as Request
** messages.
**
****************************************************************************/
/***************************************************************************/
/*** Interrupt Definition ***/
/***************************************************************************/
// #define H2D_INT_WAKE_REQ HID_INT_WAKE_REQ
#define D2H_RESET_REQ 0x01
#define H2D_INT_REQ_RES 0x02
#define D2H_INT_IND_CFM 0x02
#define H2D_INT_RX_0_DONE 0x04
#define H2D_INT_RX_1_DONE 0x08
#define H2D_INT_RX_2_DONE 0x10
#define H2D_INT_RX_3_DONE 0x20
#define H2D_INT_TX_0_READY 0x40
#define H2D_INT_TX_1_READY 0x80
#define D2H_INT_RX_0_READY 0x04
#define D2H_INT_RX_1_READY 0x08
#define D2H_INT_RX_2_READY 0x10
#define D2H_INT_RX_3_READY 0x20
#define D2H_INT_TX_0_DONE 0x40
#define D2H_INT_TX_1_DONE 0x80
#endif /* HOST_IF_HID_INCLUDED */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -