亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? csl_emi.h

?? SEED的VPM642測試程序-板級支持庫
?? H
?? 第 1 頁 / 共 2 頁
字號:
    Uint32 RxOctets;         /* Total Received Bytes in Good Frames          */
    Uint32 TxGoodFrames;     /* Good Frames Sent                             */
    Uint32 TxBCastFrames;    /* Good Broadcast Frames Sent                   */
    Uint32 TxMCastFrames;    /* Good Multicast Frames Sent                   */
    Uint32 TxPauseFrames;    /* PauseTx Frames Sent                          */
    Uint32 TxDeferred;       /* Frames Where Transmission was Deferred       */
    Uint32 TxCollision;      /* Total Frames Sent With Collision             */
    Uint32 TxSingleColl;     /* Frames Sent with Exactly One Collision       */
    Uint32 TxMultiColl;      /* Frames Sent with Multiple Colisions          */
    Uint32 TxExcessiveColl;  /* Tx Frames Lost Due to Excessive Collisions   */
    Uint32 TxLateColl;       /* Tx Frames Lost Due to a Late Collision       */
    Uint32 TxUnderrun;       /* Tx Frames Lost with Transmit Underrun Error  */
    Uint32 TxCarrierSLoss;   /* Tx Frames Lost Due to Carrier Sense Loss     */
    Uint32 TxOctets;         /* Total Transmitted Bytes in Good Frames       */
    Uint32 Frame64;          /* Total Tx&Rx with Octet Size of 64            */
    Uint32 Frame65t127;      /* Total Tx&Rx with Octet Size of 65 to 127     */
    Uint32 Frame128t255;     /* Total Tx&Rx with Octet Size of 128 to 255    */
    Uint32 Frame256t511;     /* Total Tx&Rx with Octet Size of 256 to 511    */
    Uint32 Frame512t1023;    /* Total Tx&Rx with Octet Size of 512 to 1023   */
    Uint32 Frame1024tUp;     /* Total Tx&Rx with Octet Size of >=1024      */
    Uint32 NetOctets;        /* Sum of all Octets Tx or Rx on the Network    */
    Uint32 RxSOFOverruns;    /* Total Rx Start of Frame Overruns             */
    Uint32 RxMOFOverruns;    /* Total Rx Middle of Frame Overruns            */
    Uint32 RxDMAOverruns;    /* Total Rx DMA Overruns                        */
} EMI_Statistics;


/*-----------------------------------------------------------------------*\
* Packet Filtering
*
* Packet Filtering Settings (cumulative)
\*-----------------------------------------------------------------------*/
#define EMI_RXFILTER_NOTHING      0
#define EMI_RXFILTER_DIRECT       1
#define EMI_RXFILTER_BROADCAST    2
#define EMI_RXFILTER_MULTICAST    3
#define EMI_RXFILTER_ALLMULTICAST 4
#define EMI_RXFILTER_ALL          5

/*-----------------------------------------------------------------------*\
* STANDARD ERROR CODES
\*-----------------------------------------------------------------------*/
#define EMI_ERROR_ALREADY   1   /* Operation has already been started        */
#define EMI_ERROR_NOTREADY  2   /* Device is not open or not ready           */
#define EMI_ERROR_DEVICE    3   /* Device hardware error                     */
#define EMI_ERROR_INVALID   4   /* Function or calling parameter is invalid  */
#define EMI_ERROR_BADPACKET 5   /* Supplied packet was invalid               */
#define EMI_ERROR_MACFATAL  6   /* Fatal Error in MAC - EMI_close() required */

/*-----------------------------------------------------------------------*\
* STANDARD API FUNCTIONS
*
*   The application is charged with verifying that only one of the
* following API calls may only be executing at a given time across
* all threads and all interrupt functions.
*
\*-----------------------------------------------------------------------*/

/*-----------------------------------------------------------------------*\
* EMI_enumerate()
*
* Enumerates the EMI peripherals installed in the system and returns an
* integer count. The EMI devices are enumerated in a consistent
* fashion so that each device can be later referenced by its physical
* index value ranging from "1" to "n" where "n" is the count returned
* by this function.
\*-----------------------------------------------------------------------*/
uint    EMI_enumerate( void );


/*-----------------------------------------------------------------------*\
* EMI_open()
*
* Opens the EMI peripheral at the given physical index and initializes
* it to an embryonic state.
*
* The calling application must supply a operating configuration that
* includes a callback function table. Data from this config structure is
* copied into the device's internal instance structure so the structure
* may be discarded after EMI_open() returns. In order to change an item
* in the configuration, the the EMI device must be closed and then
* re-opened with the new configuration.
*
* The application layer may pass in an hApplication callback handle,
* that will be supplied by the EMI device when making calls to the
* application callback functions.
*
* An EMI device handle is written to phEMI. This handle must be saved
* by the caller and then passed to other EMI device functions.
*
* The default receive filter prevents normal packets from being received
* until the receive filter is specified by calling EMI_receiveFilter().
*
* A device reset is achieved by calling EMI_close() followed by EMI_open().
*
* The function returns zero on success, or an error code on failure.
*
* Possible error codes include:
*   EMI_ERROR_ALREADY   - The device is already open
*   EMI_ERROR_INVALID   - A calling parameter is invalid
*
\*-----------------------------------------------------------------------*/
uint    EMI_open( int physicalIndex, Handle hApplication,
                 EMI_Config *pEMIConfig, Handle *phEMI );


/*-----------------------------------------------------------------------*\
* EMI_close()
*
* Closed the EMI peripheral indicated by the supplied instance handle.
* When called, the EMI device will shutdown both send and receive
* operations, and free all pending transmit and receive packets.
*
* The function returns zero on success, or an error code on failure.
*
* Possible error code include:
*   EMI_ERROR_INVALID   - A calling parameter is invalid
*
\*-----------------------------------------------------------------------*/
uint    EMI_close( Handle hEMI );


/*-----------------------------------------------------------------------*\
* EMI_getStatus()
*
* Called to get the current status of the device. The device status
* is copied into the supplied data structure.
*
* The function returns zero on success, or an error code on failure.
*
* Possible error code include:
*   EMI_ERROR_INVALID   - A calling parameter is invalid
*
\*-----------------------------------------------------------------------*/
uint    EMI_getStatus( Handle hEMI, EMI_Status *pStatus );


/*-----------------------------------------------------------------------*\
* EMI_setReceiveFilter()
*
* Called to set the packet filter for received packets. The filtering
* level is inclusive, so BROADCAST would include both BROADCAST and
* DIRECTED (UNICAST) packets.
*
* Available filtering modes include the following:
*  EMI_RXFILTER_NOTHING      - Receive nothing
*  EMI_RXFILTER_DIRECT       - Receive only Unicast to local MAC addr
*  EMI_RXFILTER_BROADCAST    - Receive direct and Broadcast
*  EMI_RXFILTER_MULTICAST    - Receive above plus multicast in mcast list
*  EMI_RXFILTER_ALLMULTICAST - Receive above plus all multicast
*  EMI_RXFILTER_ALL          - Receive all packets
*
* Note that if error frames and control frames are desired, reception of
* these must be specified in the device configuration.
*
* The function returns zero on success, or an error code on failure.
*
* Possible error code include:
*   EMI_ERROR_INVALID   - A calling parameter is invalid
*
\*-----------------------------------------------------------------------*/
uint    EMI_setReceiveFilter( Handle hEMI, uint ReceiveFilter );


/*-----------------------------------------------------------------------*\
* EMI_getReceiveFilter()
*
* Called to get the current packet filter setting for received packets.
* The filter values are the same as those used in EMI_setReceiveFilter().
*
* The current filter value is writter to the pointer supplied in
* pReceiveFilter.
*
* The function returns zero on success, or an error code on failure.
*
* Possible error code include:
*   EMI_ERROR_INVALID   - A calling parameter is invalid
*
\*-----------------------------------------------------------------------*/
uint    EMI_getReceiveFilter( Handle hEMI, uint *pReceiveFilter );


/*-----------------------------------------------------------------------*\
* EMI_getStatistics()
*
* Called to get the current device statistics. The statistics structure
* contains a collection of event counts for various packet sent and
* receive properties. Reading the statistics also clears the current
* statistic counters, so the values read represent a delta from the last
* call.
*
* The statistics information is copied into the structure pointed to
* by the pStatistics argument.
*
* The function returns zero on success, or an error code on failure.
*
* Possible error code include:
*   EMI_ERROR_INVALID   - A calling parameter is invalid
*
\*-----------------------------------------------------------------------*/
uint    EMI_getStatistics( Handle hEMI, EMI_Statistics *pStatistics );


/*-----------------------------------------------------------------------*\
* EMI_setMulticast()
*
* This function is called to install a list of multicast addresses for
* use in multicast address filtering. Each time this function is called,
* any current multicast configuration is discarded in favor of the new
* list. Thus a set with a list size of zero will remove all multicast
* addresses from the device.
*
* Note that the multicast list configuration is stateless in that the
* list of multicast addresses used to build the configuration is not
* retained. Thus it is impossible to examine a list of currently installed
* addresses.
*
* The addresses to install are pointed to by pMCastList. The length of
* this list in bytes is 6 times the value of AddrCnt. When AddrCnt is
* zero, the pMCastList parameter can be NULL.
*
* The function returns zero on success, or an error code on failure.
* The multicast list settings are not altered in the event of a failure
* code.
*
* Possible error code include:
*   EMI_ERROR_INVALID   - A calling parameter is invalid
*
\*-----------------------------------------------------------------------*/
uint    EMI_setMulticast( Handle hEMI, uint AddrCnt, Uint8 *pMCastList );



/*-----------------------------------------------------------------------*\
* EMI_sendPacket()
*
* Sends a Ethernet data packet out the EMI device. On a non-error return,
* the EMI device takes ownership of the packet. The packet is returned
* to the application's free pool once it has been transmitted.
*
* The function returns zero on success, or an error code on failure.
* When an error code is returned, the EMI device has not taken ownership
* of the packet.
*
* Possible error codes include:
*   EMI_ERROR_INVALID   - A calling parameter is invalid
*   EMI_ERROR_BADPACKET - The packet structure is invalid
*
\*-----------------------------------------------------------------------*/
uint     EMI_sendPacket( Handle hEMI, EMI_Pkt *pEmiPacket );


/*-----------------------------------------------------------------------*\
* EMI_serviceCheck()
*
* This function should be called every time there is an EMAC device
* interrupt. It maintains the status the EMAC.
*
* Note that the application has the responsibility for mapping the
* physical device index to the correct EMI_serviceCheck() function. If
* more than one EMI device is on the same interrupt, the function must be
* called for each device.
*
* Possible error codes include:
*   EMI_ERROR_INVALID   - A calling parameter is invalid
*   EMI_ERROR_MACFATAL  - Fatal error in the MAC - Call EMI_close()
*
\*-----------------------------------------------------------------------*/
uint     EMI_serviceCheck( Handle hEMI );


/*-----------------------------------------------------------------------*\
* EMI_timerTick()
*
* This function should be called for each device in the system on a
* periodic basis of 500mS. It is used to check the status of the EMAC
* and MDIO device, and to potentially recover from low Rx buffer
* conditions.
*
* Strict timing is not required, but the application should make a
* reasonable attempt to adhere to the 500mS mark. A missed call should
* not be "made up" by making mulitple sequential calls.
*
* A POLLING DRIVER MUST ALSO ADHERE TO 500mS TIMING
*
* Possible error codes include:
*   EMI_ERROR_INVALID   - A calling parameter is invalid
*
\*-----------------------------------------------------------------------*/
uint     EMI_timerTick( Handle hEMI );

#endif /* EMAC_SUPPORT */
#endif /* _CSL_EMI_H_ */

/******************************************************************************\
* End of emi.h
\******************************************************************************/

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产不卡在线一区| 国产一区二区三区美女| 综合在线观看色| 久久久亚洲午夜电影| 久久久久久久久久久99999| 欧美一级高清片| 欧美r级电影在线观看| 精品日韩99亚洲| 久久免费视频色| 国产日韩欧美高清| 国产精品另类一区| 玉米视频成人免费看| 亚洲午夜精品网| 人人狠狠综合久久亚洲| 久久精品国产亚洲一区二区三区| 久久99精品久久久久久国产越南 | 水野朝阳av一区二区三区| 亚洲美女在线一区| 亚洲午夜电影在线| 青青草91视频| 成人一区二区三区| 欧美视频三区在线播放| 69久久夜色精品国产69蝌蚪网| 欧美日本国产一区| 久久综合久久综合九色| 欧美国产日韩a欧美在线观看| 亚洲欧洲在线观看av| 亚洲精品久久久蜜桃| 免费成人结看片| 成人av免费网站| 欧美日韩国产高清一区二区三区 | 欧美一区二区三区日韩视频| 2欧美一区二区三区在线观看视频| 国产欧美日本一区视频| 亚洲欧美国产77777| 五月天亚洲精品| 成人不卡免费av| 4438x成人网最大色成网站| 久久久精品天堂| 一区二区三区久久久| 黄色资源网久久资源365| 99国产精品99久久久久久| 91精品国产色综合久久不卡蜜臀 | 一区二区三区自拍| 久久99精品久久久久久国产越南| 91麻豆123| 久久久久久久久久电影| 午夜精品久久久久久久久久| 成年人网站91| 精品美女被调教视频大全网站| 中文字幕一区二区三区色视频| 免费人成黄页网站在线一区二区| av男人天堂一区| 久久嫩草精品久久久精品| 婷婷开心激情综合| 色综合久久久久综合99| 国产日韩欧美一区二区三区乱码 | 国产精品狼人久久影院观看方式| 免播放器亚洲一区| 欧美日韩卡一卡二| 伊人一区二区三区| 成人网在线播放| 国产三级精品视频| 精品一区二区国语对白| 欧美精品在线一区二区| 亚洲男人的天堂网| 一本大道av伊人久久综合| 国产精品丝袜黑色高跟| 国产精品1024久久| 国产欧美日本一区二区三区| 久久99精品久久久| 精品少妇一区二区三区| 久久精品国产免费看久久精品| 91超碰这里只有精品国产| 五月激情综合婷婷| 日韩一区二区三区电影| 久久黄色级2电影| 日韩免费观看高清完整版| 麻豆传媒一区二区三区| 久久久久久久久蜜桃| 国产成人午夜精品5599| 国产精品乱码久久久久久| 成人高清免费在线播放| √…a在线天堂一区| 欧美亚洲国产一卡| 肉色丝袜一区二区| 精品国产sm最大网站免费看| 国产毛片精品一区| 中文字幕一区不卡| 欧美三级一区二区| 日本一道高清亚洲日美韩| 日韩精品在线一区二区| 国产激情91久久精品导航| 国产精品丝袜91| 欧美在线小视频| 麻豆成人91精品二区三区| 久久久久国产免费免费 | 欧美三级韩国三级日本三斤| 首页综合国产亚洲丝袜| 久久久综合精品| 色综合天天综合| 日本中文一区二区三区| 国产女人aaa级久久久级| 91视频免费观看| 日韩精品亚洲一区| 亚洲国产成人自拍| 欧美日韩国产三级| 国产精品一二三区| 亚洲成人精品在线观看| 久久先锋资源网| 欧洲激情一区二区| 国产69精品久久久久777| 亚洲成人自拍一区| 日本一区二区成人| 日韩三级高清在线| 成人丝袜视频网| 亚洲精品在线观看网站| 韩国三级中文字幕hd久久精品| av不卡一区二区三区| 久久综合色综合88| 亚洲国产精品久久人人爱| 欧美一区二区三区系列电影| 成人晚上爱看视频| 成人性视频免费网站| 色88888久久久久久影院野外| 舔着乳尖日韩一区| 日韩精品电影在线| 激情小说欧美图片| 国产成人在线色| 91色九色蝌蚪| 欧洲av在线精品| 日韩欧美一级在线播放| 国产亚洲精品精华液| 中文字幕一区二区视频| 亚洲超碰精品一区二区| 精品在线一区二区| 成人白浆超碰人人人人| 日本高清不卡aⅴ免费网站| 4438x成人网最大色成网站| 精品美女一区二区| 亚洲三级免费观看| 日韩不卡一区二区三区| 国产成人亚洲精品青草天美| 色先锋久久av资源部| 欧美一卡二卡在线| 国产精品乱码妇女bbbb| 亚洲五码中文字幕| 国产一区不卡视频| 欧美午夜视频网站| 精品美女在线播放| 一区二区三区加勒比av| 免费在线一区观看| 一本久久综合亚洲鲁鲁五月天 | 26uuu国产一区二区三区| 亚洲欧洲日韩女同| 麻豆freexxxx性91精品| 色悠悠亚洲一区二区| 日韩精品一区二区三区中文不卡 | 欧美老肥妇做.爰bbww| 2017欧美狠狠色| 亚洲一区二区偷拍精品| 国产一区在线不卡| 欧美综合欧美视频| 国产欧美精品国产国产专区| 天堂成人免费av电影一区| www.久久久久久久久| 精品久久久影院| 亚洲福利一区二区三区| 不卡视频在线看| 欧美精品一区二区三区在线播放| 一区二区三区欧美日| 高清不卡一二三区| 精品国产免费一区二区三区香蕉 | 国产精品福利av| 精品亚洲国产成人av制服丝袜 | 日韩欧美一级二级| 亚洲国产一区二区三区青草影视| 国产成人在线看| 日韩一二在线观看| 五月天激情综合网| 欧美中文字幕一区| 亚洲激情图片小说视频| 丁香婷婷综合色啪| 久久久久久久综合色一本| 美腿丝袜亚洲三区| 欧美一区二区三区日韩视频| 亚洲va欧美va天堂v国产综合| 99精品欧美一区二区三区小说| 精品少妇一区二区三区在线视频| 午夜精品福利视频网站| 欧美日韩国产首页在线观看| 亚洲在线视频一区| 色丁香久综合在线久综合在线观看| 久久精品视频免费观看| 国产一区二区三区免费播放| 欧美精品一区二区高清在线观看| 日本午夜精品一区二区三区电影| 国产精品久久久久一区| 成人网在线免费视频| 国产精品不卡在线观看|