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

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

?? csl_emi.h

?? dm642 串口初始化以及測試的程序
?? 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一区二区三区免费野_久草精品视频
一个色在线综合| 欧美三日本三级三级在线播放| 成人性生交大片免费看在线播放| 91丝袜美腿高跟国产极品老师| 欧美成人一区二区三区| 中文字幕一区不卡| 极品少妇xxxx精品少妇| 欧美色图12p| 国产精品免费视频一区| 极品美女销魂一区二区三区免费| 91久久精品一区二区二区| 国产欧美一区二区三区沐欲 | 亚洲精品v日韩精品| 精品亚洲国产成人av制服丝袜| 欧美在线播放高清精品| 亚洲国产成人一区二区三区| 久久国产精品99精品国产 | 亚洲免费观看高清完整版在线观看熊 | 久久精品一区二区三区不卡| 视频在线观看一区二区三区| 日本国产一区二区| 亚洲日本在线视频观看| 国产成人精品免费视频网站| 精品国产一区二区在线观看| 日产国产高清一区二区三区| 欧美人与禽zozo性伦| 一二三区精品视频| 91网站视频在线观看| 国产精品第四页| 99re66热这里只有精品3直播| 久久久久久影视| 国产剧情在线观看一区二区| 久久综合五月天婷婷伊人| 九色综合狠狠综合久久| 欧美成人欧美edvon| 激情综合一区二区三区| 日韩精品一区二区三区三区免费| 日本视频免费一区| 欧美一区二区视频在线观看2022| 日韩精品国产精品| 国产欧美精品一区二区色综合| 国产精品 日产精品 欧美精品| 精品久久久久久久久久久久久久久| 日韩av电影天堂| 91精品国产乱码| 美腿丝袜一区二区三区| 精品女同一区二区| 国产老肥熟一区二区三区| 国产欧美综合色| 97久久人人超碰| 亚洲色图色小说| 欧美日韩视频在线观看一区二区三区 | 日产精品久久久久久久性色| 日韩一区二区三区在线| 国产成人精品三级麻豆| 17c精品麻豆一区二区免费| 在线观看日韩电影| 免费一级片91| 亚洲国产精品精华液ab| 日本韩国欧美一区二区三区| 日本午夜精品视频在线观看| 日韩精品专区在线影院观看| 成人免费毛片aaaaa**| 99视频一区二区三区| 亚洲精品国久久99热| 91精品婷婷国产综合久久| 国产一区二区三区久久久| 中文字幕一区二区三区不卡在线 | 一个色妞综合视频在线观看| 91麻豆精品国产综合久久久久久| 国产精品中文字幕日韩精品 | 欧洲一区二区av| 国产一区二区三区四| 一区二区三区免费观看| 欧美成人aa大片| 色94色欧美sute亚洲线路一久| 日韩精品三区四区| 中文字幕一区二区视频| 欧美成人a在线| 欧美综合色免费| 高清av一区二区| 日韩高清不卡一区二区三区| 中文字幕一区二区三区在线不卡| 欧美人妇做爰xxxⅹ性高电影| 国产91露脸合集magnet | 国产乱子伦视频一区二区三区| 亚洲免费成人av| 欧美精品一区二区在线观看| 日本高清无吗v一区| 国产成人av电影在线播放| 日韩av一级片| 亚洲成人一区二区在线观看| 一区视频在线播放| 国产亚洲美州欧州综合国| 欧美日韩久久一区二区| 99re这里只有精品6| 国产91精品一区二区| 九一久久久久久| 蜜桃久久久久久| 午夜欧美视频在线观看 | 91色.com| av成人动漫在线观看| 国产麻豆精品95视频| 美女视频黄a大片欧美| 日韩国产欧美在线播放| 亚洲成人高清在线| 亚洲一区二区在线视频| 亚洲日本乱码在线观看| 自拍偷在线精品自拍偷无码专区| 国产欧美日韩亚州综合| 精品99一区二区三区| 精品国产一区二区三区久久影院| 日韩欧美一区在线观看| 亚洲私人影院在线观看| 自拍偷拍欧美激情| 亚洲情趣在线观看| 亚洲三级在线播放| 最新欧美精品一区二区三区| 亚洲免费观看在线观看| 亚洲五月六月丁香激情| 亚洲国产一区视频| 日韩和欧美一区二区| 美女一区二区久久| 国产在线视频精品一区| 国产成都精品91一区二区三| 波多野结衣欧美| 91啪在线观看| 欧美日韩在线播放| 欧美精品在线观看播放| 欧美成人a∨高清免费观看| 久久人人爽人人爽| 中文字幕av一区二区三区免费看| 国产精品美女久久久久久久久 | 日韩欧美激情一区| 久久久天堂av| 中国色在线观看另类| 国产精品国产精品国产专区不蜜| 亚洲精品高清在线观看| 午夜视频一区二区三区| 九一久久久久久| 9i看片成人免费高清| 欧美日韩在线一区二区| 26uuu国产日韩综合| 亚洲特级片在线| 琪琪一区二区三区| www.欧美日韩国产在线| 欧美日韩激情一区二区三区| 久久综合久久综合亚洲| 亚洲精品乱码久久久久久黑人| 免费观看30秒视频久久| 成人精品电影在线观看| 91国在线观看| 久久免费电影网| 亚洲中国最大av网站| 国产乱色国产精品免费视频| 欧美最猛性xxxxx直播| 久久精品在这里| 亚洲成人激情社区| 不卡视频一二三四| 91麻豆精品国产91久久久久| 中文字幕第一区综合| 青青草原综合久久大伊人精品优势| 成人精品高清在线| 日韩精品在线一区二区| 亚洲精品日韩一| 国产精品538一区二区在线| 欧美日韩免费电影| 国产精品久久久久久久久免费桃花 | 精品一区二区精品| 欧美日免费三级在线| 国产精品嫩草99a| 裸体一区二区三区| 在线中文字幕一区二区| 国产日韩在线不卡| 久久疯狂做爰流白浆xx| 欧美网站大全在线观看| 中文字幕永久在线不卡| 国产一区二区三区久久久| 91精品国产色综合久久不卡电影| 综合激情网...| 国产iv一区二区三区| 26uuu久久综合| 开心九九激情九九欧美日韩精美视频电影 | 在线综合视频播放| 一个色在线综合| 91小视频免费看| 亚洲欧美中日韩| 国产精品12区| 国产午夜精品福利| 黄页视频在线91| 欧美xxx久久| 奇米精品一区二区三区四区| 欧美日韩一级视频| 悠悠色在线精品| 91捆绑美女网站| 亚洲人成7777| 欧美艳星brazzers| 亚洲一区二区三区三| 日本精品一级二级| 一区二区成人在线视频|