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

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

?? csl_emac.h

?? evmDM642 flash測試程序
?? H
?? 第 1 頁 / 共 2 頁
字號:
    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                        */
} EMAC_Statistics;


/*-----------------------------------------------------------------------*\
* Packet Filtering
*
* Packet Filtering Settings (cumulative)
\*-----------------------------------------------------------------------*/
#define EMAC_RXFILTER_NOTHING      0
#define EMAC_RXFILTER_DIRECT       1
#define EMAC_RXFILTER_BROADCAST    2
#define EMAC_RXFILTER_MULTICAST    3
#define EMAC_RXFILTER_ALLMULTICAST 4
#define EMAC_RXFILTER_ALL          5

/*-----------------------------------------------------------------------*\
* STANDARD ERROR CODES
\*-----------------------------------------------------------------------*/
#define EMAC_ERROR_ALREADY   1   /* Operation has already been started        */
#define EMAC_ERROR_NOTREADY  2   /* Device is not open or not ready           */
#define EMAC_ERROR_DEVICE    3   /* Device hardware error                     */
#define EMAC_ERROR_INVALID   4   /* Function or calling parameter is invalid  */
#define EMAC_ERROR_BADPACKET 5   /* Supplied packet was invalid               */
#define EMAC_ERROR_MACFATAL  6   /* Fatal Error in MAC - EMAC_close() required */

/*-----------------------------------------------------------------------*\
* STANDARD API FUNCTIONS
*
* IMPORTANT NOTE
* --------------
*   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.
*
\*-----------------------------------------------------------------------*/

/*-----------------------------------------------------------------------*\
* EMAC_enumerate()
*
* Enumerates the EMAC peripherals installed in the system and returns an
* integer count. The EMAC 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.
\*-----------------------------------------------------------------------*/
CSLAPI uint EMAC_enumerate( void );


/*-----------------------------------------------------------------------*\
* EMAC_open()
*
* Opens the EMAC 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 EMAC_open() returns. In order to change an item
* in the configuration, the the EMAC 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 EMAC device when making calls to the
* application callback functions.
*
* An EMAC device handle is written to phEMAC. This handle must be saved
* by the caller and then passed to other EMAC device functions.
*
* The default receive filter prevents normal packets from being received
* until the receive filter is specified by calling EMAC_receiveFilter().
*
* A device reset is achieved by calling EMAC_close() followed by EMAC_open().
*
* The function returns zero on success, or an error code on failure.
*
* Possible error codes include:
*   EMAC_ERROR_ALREADY   - The device is already open
*   EMAC_ERROR_INVALID   - A calling parameter is invalid
*
\*-----------------------------------------------------------------------*/
CSLAPI uint EMAC_open( int physicalIndex, Handle hApplication,
                       EMAC_Config *pEMACConfig, Handle *phEMAC );


/*-----------------------------------------------------------------------*\
* EMAC_close()
*
* Closed the EMAC peripheral indicated by the supplied instance handle.
* When called, the EMAC 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:
*   EMAC_ERROR_INVALID   - A calling parameter is invalid
*
\*-----------------------------------------------------------------------*/
CSLAPI uint EMAC_close( Handle hEMAC );


/*-----------------------------------------------------------------------*\
* EMAC_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:
*   EMAC_ERROR_INVALID   - A calling parameter is invalid
*
\*-----------------------------------------------------------------------*/
CSLAPI uint EMAC_getStatus( Handle hEMAC, EMAC_Status *pStatus );


/*-----------------------------------------------------------------------*\
* EMAC_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:
*  EMAC_RXFILTER_NOTHING      - Receive nothing
*  EMAC_RXFILTER_DIRECT       - Receive only Unicast to local MAC addr
*  EMAC_RXFILTER_BROADCAST    - Receive direct and Broadcast
*  EMAC_RXFILTER_MULTICAST    - Receive above plus multicast in mcast list
*  EMAC_RXFILTER_ALLMULTICAST - Receive above plus all multicast
*  EMAC_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:
*   EMAC_ERROR_INVALID   - A calling parameter is invalid
*
\*-----------------------------------------------------------------------*/
CSLAPI uint EMAC_setReceiveFilter( Handle hEMAC, uint ReceiveFilter );


/*-----------------------------------------------------------------------*\
* EMAC_getReceiveFilter()
*
* Called to get the current packet filter setting for received packets.
* The filter values are the same as those used in EMAC_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:
*   EMAC_ERROR_INVALID   - A calling parameter is invalid
*
\*-----------------------------------------------------------------------*/
CSLAPI uint EMAC_getReceiveFilter( Handle hEMAC, uint *pReceiveFilter );


/*-----------------------------------------------------------------------*\
* EMAC_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:
*   EMAC_ERROR_INVALID   - A calling parameter is invalid
*
\*-----------------------------------------------------------------------*/
CSLAPI uint EMAC_getStatistics( Handle hEMAC, EMAC_Statistics *pStatistics );


/*-----------------------------------------------------------------------*\
* EMAC_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:
*   EMAC_ERROR_INVALID   - A calling parameter is invalid
*
\*-----------------------------------------------------------------------*/
CSLAPI uint EMAC_setMulticast( Handle hEMAC, uint AddrCnt, Uint8 *pMCastList );



/*-----------------------------------------------------------------------*\
* EMAC_sendPacket()
*
* Sends a Ethernet data packet out the EMAC device. On a non-error return,
* the EMAC 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 EMAC device has not taken ownership
* of the packet.
*
* Possible error codes include:
*   EMAC_ERROR_INVALID   - A calling parameter is invalid
*   EMAC_ERROR_BADPACKET - The packet structure is invalid
*
\*-----------------------------------------------------------------------*/
CSLAPI uint EMAC_sendPacket( Handle hEMAC, EMAC_Pkt *pPacket );


/*-----------------------------------------------------------------------*\
* EMAC_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 EMAC_serviceCheck() function. If
* more than one EMAC device is on the same interrupt, the function must be
* called for each device.
*
* Possible error codes include:
*   EMAC_ERROR_INVALID   - A calling parameter is invalid
*   EMAC_ERROR_MACFATAL  - Fatal error in the MAC - Call EMAC_close()
*
\*-----------------------------------------------------------------------*/
CSLAPI uint EMAC_serviceCheck( Handle hEMAC );


/*-----------------------------------------------------------------------*\
* EMAC_timerTick()
*
* This function should be called for each device in the system on a
* periodic basis of 100mS (10 times a second). 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 100mS mark. A missed call should
* not be "made up" by making mulitple sequential calls.
*
* A "polling" driver (one that calls EMAC_serviceCheck() in a tight loop),
* must also adhere to the 100mS timing on this function.
*
* Possible error codes include:
*   EMAC_ERROR_INVALID   - A calling parameter is invalid
*
\*-----------------------------------------------------------------------*/
CSLAPI uint EMAC_timerTick( Handle hEMAC );

#endif /* EMAC_SUPPORT */
#endif /* _CSL_EMAC_H_ */

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

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色综合色综合色综合 | 日本vs亚洲vs韩国一区三区| 国产成人精品免费| 欧美va在线播放| 蜜芽一区二区三区| 日韩午夜激情av| 老司机免费视频一区二区三区| 欧美精品少妇一区二区三区| 日韩激情av在线| 日韩欧美中文一区二区| 麻豆国产91在线播放| 久久影院视频免费| 国产99久久久国产精品| 国产精品久久久一本精品| 99久久婷婷国产综合精品| 亚洲视频在线一区| 欧美午夜在线一二页| 欧美aaaaaa午夜精品| 久久久久久久久蜜桃| 99国产精品久久| 视频一区视频二区中文| 久久综合网色—综合色88| 成人免费毛片嘿嘿连载视频| 亚洲免费av高清| 国产欧美综合在线观看第十页| 国产 欧美在线| 亚洲精品综合在线| 91精品国产综合久久福利| 国产91在线|亚洲| 一区二区三区在线观看欧美| 91精品国产aⅴ一区二区| 国产精品伊人色| 亚洲精品欧美专区| 日韩一级黄色片| 成人激情视频网站| 首页欧美精品中文字幕| 久久精品人人做| 欧美综合一区二区三区| 激情综合五月天| 亚洲精选视频免费看| 欧美v日韩v国产v| 欧美专区日韩专区| 国产九色精品成人porny| 亚洲美女视频在线| 精品福利一区二区三区| 色菇凉天天综合网| 国产一区二区在线视频| 亚洲国产精品精华液网站| 久久久久久久电影| 91麻豆精品国产无毒不卡在线观看| 国产精品1024久久| 日韩精品三区四区| 亚洲三级免费电影| 国产日韩欧美一区二区三区乱码| 欧美日韩成人综合天天影院| 国产馆精品极品| 日韩高清中文字幕一区| 亚洲视频一区二区在线| 亚洲二区视频在线| 国产日本亚洲高清| 日韩欧美高清dvd碟片| 欧美亚洲国产一区二区三区| 国产宾馆实践打屁股91| 日韩综合小视频| 亚洲精品国产第一综合99久久| 久久精品亚洲精品国产欧美kt∨| 欧美精品18+| 色天使色偷偷av一区二区| 国产不卡一区视频| 国产一区在线精品| 久久电影网电视剧免费观看| 亚洲国产一区二区视频| 最近中文字幕一区二区三区| 久久久久国产一区二区三区四区| 91麻豆精品久久久久蜜臀| 欧洲国产伦久久久久久久| av一区二区三区黑人| 丁香天五香天堂综合| 国产美女视频91| 狠狠色2019综合网| 精品无人区卡一卡二卡三乱码免费卡 | 亚洲与欧洲av电影| 中文字幕一区二区三区不卡| 久久精品一区二区| 精品日韩一区二区三区 | 日韩欧美电影一区| 制服丝袜日韩国产| 欧美三级午夜理伦三级中视频| 色综合天天综合网国产成人综合天| 高清免费成人av| 国产成人av网站| 国产精品1区二区.| 国产精品一区二区男女羞羞无遮挡| 麻豆91小视频| 精品一区二区免费看| 韩国成人精品a∨在线观看| 久久草av在线| 国产乱人伦偷精品视频免下载 | 久久先锋资源网| 久久亚洲综合色| 国产校园另类小说区| 国产欧美日韩在线| 中文字幕不卡三区| 亚洲日本免费电影| 亚洲一区在线观看视频| 亚洲地区一二三色| 麻豆久久久久久久| 精品一区二区免费视频| 国产成人av一区二区三区在线| 精品久久久久久无| 精品成人免费观看| 欧美激情一区不卡| 亚洲日本乱码在线观看| 亚洲风情在线资源站| 免费成人在线网站| 国产成人免费视| 91亚洲男人天堂| 欧美日韩国产精品成人| 精品欧美久久久| 亚洲欧洲精品天堂一级| 亚洲高清免费观看高清完整版在线观看| 日本中文字幕一区二区有限公司| 国产一区二区三区电影在线观看| www.激情成人| 欧美高清hd18日本| 国产拍揄自揄精品视频麻豆| 亚洲一区自拍偷拍| 国产在线视频一区二区| 99久久99久久精品免费观看| 欧美精品色一区二区三区| 久久综合久久99| 亚洲精品成a人| 蜜桃视频第一区免费观看| 成人午夜精品一区二区三区| 欧美日韩国产欧美日美国产精品| www成人在线观看| 一区二区三区电影在线播| 麻豆成人免费电影| 色婷婷狠狠综合| 欧美精品一区二区蜜臀亚洲| 亚洲欧美日韩国产另类专区| 美国毛片一区二区三区| 99热这里都是精品| 欧美电影免费观看高清完整版在线| 成人免费在线播放视频| 久久成人麻豆午夜电影| 色琪琪一区二区三区亚洲区| 2017欧美狠狠色| 午夜精品爽啪视频| 91视频免费播放| 国产欧美日韩综合| 久久精品国产99国产| 在线国产亚洲欧美| 国产精品美女视频| 麻豆成人91精品二区三区| 欧美中文一区二区三区| 欧美国产一区在线| 久久精品久久99精品久久| 日本一二三四高清不卡| 日韩影院在线观看| 欧美色图免费看| 18欧美乱大交hd1984| 国产乱子伦视频一区二区三区 | 丁香网亚洲国际| 欧美成人精品1314www| 亚洲成a人v欧美综合天堂| 成人福利视频在线看| 精品理论电影在线| 日韩av高清在线观看| 欧美中文字幕亚洲一区二区va在线 | 欧美美女一区二区在线观看| 国产精品久久久久四虎| 国产一区二区三区精品欧美日韩一区二区三区 | ●精品国产综合乱码久久久久| 麻豆高清免费国产一区| 4hu四虎永久在线影院成人| 一区二区三区视频在线看| 成人av网站在线观看| 国产日韩欧美在线一区| 国产91精品一区二区| 精品粉嫩超白一线天av| 六月丁香婷婷久久| 日韩欧美综合在线| 日本午夜一区二区| 日韩美女一区二区三区| 蜜桃视频一区二区三区在线观看| 欧美精品日韩精品| 日日夜夜精品视频免费| 欧美精品xxxxbbbb| 日产国产高清一区二区三区| 国产精品不卡在线| 成人三级伦理片| 国产精品国产成人国产三级 | 亚洲午夜激情av| 91久久线看在观草草青青| 伊人夜夜躁av伊人久久| 在线观看日韩高清av| 亚洲成精国产精品女| 日韩三级在线免费观看| 国产精品一区二区x88av|