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

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

?? ixtimesyncacc.h

?? 友善mini2440嵌入式
?? H
?? 第 1 頁 / 共 2 頁
字號:
/** * @file IxTimeSyncAcc.h * * @author Intel Corporation * @date 07 May 2004 * * @brief  Header file for IXP400 Access Layer to IEEE 1588(TM) Precision * Clock Synchronisation Protocol Hardware Assist * * @version 1 * * @par * IXP400 SW Release version 2.0 *  * -- Copyright Notice -- *  * @par * Copyright 2001-2005, Intel Corporation. * All rights reserved. *  * @par * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright *    notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright *    notice, this list of conditions and the following disclaimer in the *    documentation and/or other materials provided with the distribution. * 3. Neither the name of the Intel Corporation nor the names of its contributors *    may be used to endorse or promote products derived from this software *    without specific prior written permission. *  * @par * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. *  * @par * -- End of Copyright Notice -- *//** * @defgroup IxTimeSyncAcc IXP400 Time Sync Access Component API  * * @brief Public API for IxTimeSyncAcc * * @{ */#ifndef IXTIMESYNCACC_H#define IXTIMESYNCACC_H#ifdef  __ixp46X#include "IxOsal.h"/** * Section for enum *//** * @ingroup IxTimeSyncAcc *  * @enum IxTimeSyncAccStatus * * @brief The status as returned from the API */typedef enum /**< IxTimeSyncAccStatus */{    IX_TIMESYNCACC_SUCCESS = IX_SUCCESS,    /**< Requested operation successful */    IX_TIMESYNCACC_INVALIDPARAM,            /**< An invalid parameter was passed */    IX_TIMESYNCACC_NOTIMESTAMP,             /**< While polling no time stamp available */    IX_TIMESYNCACC_INTERRUPTMODEINUSE,      /**< Polling not allowed while operating in interrupt mode */    IX_TIMESYNCACC_FAILED                   /**< Internal error occurred */}IxTimeSyncAccStatus;/** * @ingroup IxTimeSyncAcc *  * @enum IxTimeSyncAccAuxMode * * @brief Master or Slave Auxiliary Time Stamp (Snap Shot) */typedef enum /**< IxTimeSyncAccAuxMode */{    IX_TIMESYNCACC_AUXMODE_MASTER,          /**< Auxiliary Master Mode */    IX_TIMESYNCACC_AUXMODE_SLAVE,           /**< Auxiliary Slave Mode */    IX_TIMESYNCACC_AUXMODE_INVALID          /**< Invalid Auxiliary Mode */}IxTimeSyncAccAuxMode;/** * @ingroup IxTimeSyncAcc *  * @enum IxTimeSyncAcc1588PTPPort * * @brief IEEE 1588 PTP Communication Port(Channel) */typedef enum /**< IxTimeSyncAcc1588PTPPort */{    IX_TIMESYNCACC_NPE_A_1588PTP_PORT,      /**< PTP Communication Port on NPE-A */    IX_TIMESYNCACC_NPE_B_1588PTP_PORT,      /**< PTP Communication Port on NPE-B */    IX_TIMESYNCACC_NPE_C_1588PTP_PORT,      /**< PTP Communication Port on NPE-C */    IX_TIMESYNCACC_NPE_1588PORT_INVALID     /**< Invalid PTP Communication Port */} IxTimeSyncAcc1588PTPPort;/** * @ingroup IxTimeSyncAcc *  * @enum IxTimeSyncAcc1588PTPPortMode * * @brief Master or Slave mode for IEEE 1588 PTP Communication Port */typedef enum  /**< IxTimeSyncAcc1588PTPPortMode */{    IX_TIMESYNCACC_1588PTP_PORT_MASTER,       /**< PTP Communication Port in Master Mode */    IX_TIMESYNCACC_1588PTP_PORT_SLAVE,        /**< PTP Communication Port in Slave Mode */    IX_TIMESYNCACC_1588PTP_PORT_ANYMODE,      /**< PTP Communication Port in ANY Mode                                                  allows time stamping of all messages                                                  including non-1588 PTP */    IX_TIMESYNCACC_1588PTP_PORT_MODE_INVALID  /**< Invalid PTP Port Mode */}IxTimeSyncAcc1588PTPPortMode;/** * @ingroup IxTimeSyncAcc *  * @enum IxTimeSyncAcc1588PTPMsgType * * @brief 1588 PTP Messages types that can be detected on communication port * * Note that client code can determine this based on master/slave mode in which * it is already operating in and this information is made available for the sake * of convenience only. */typedef enum  /**< IxTimeSyncAcc1588PTPMsgType */{    IX_TIMESYNCACC_1588PTP_MSGTYPE_SYNC,     /**< PTP Sync message sent by Master or received by Slave */    IX_TIMESYNCACC_1588PTP_MSGTYPE_DELAYREQ, /**< PTP Delay_Req message sent by Slave or received by Master */    IX_TIMESYNCACC_1588PTP_MSGTYPE_UNKNOWN   /**< Other PTP and non-PTP message sent or received by both                                                Master and/or Slave */} IxTimeSyncAcc1588PTPMsgType;/** * Section for struct *//** * @ingroup IxTimeSyncAcc * * @struct IxTimeSyncAccTimeValue * * @brief Struct to hold 64 bit SystemTime and TimeStamp values */typedef struct  /**< IxTimeSyncAccTimeValue */{    UINT32 timeValueLowWord;               /**< Lower 32 bits of the time value */    UINT32 timeValueHighWord;              /**< Upper 32 bits of the time value */  } IxTimeSyncAccTimeValue;/** * @ingroup IxTimeSyncAcc * * @struct IxTimeSyncAccUuid * * @brief Struct to hold 48 bit UUID values captured in Sync or Delay_Req messages */typedef struct  /**< IxTimeSyncAccUuid */{    UINT32 uuidValueLowWord;               /**<The lower 32 bits of the UUID */    UINT16 uuidValueHighHalfword;          /**<The upper 16 bits of the UUID */  } IxTimeSyncAccUuid;/** * @ingroup IxTimeSyncAcc * * @struct IxTimeSyncAccPtpMsgData * * @brief Struct for data from the PTP message returned when TimeStamp available */typedef struct  /**< IxTimeSyncAccPtpMsgData */{    IxTimeSyncAcc1588PTPMsgType ptpMsgType; /**< PTP Messages type */    IxTimeSyncAccTimeValue ptpTimeStamp;    /**< 64 bit TimeStamp value from PTP Message */    IxTimeSyncAccUuid ptpUuid;              /**< 48 bit UUID value from the PTP Message */    UINT16 ptpSequenceNumber;               /**< 16 bit Sequence Number from PTP Message */} IxTimeSyncAccPtpMsgData;/** * @ingroup IxTimeSyncAcc * * @struct IxTimeSyncAccStats * * @brief Statistics for the PTP messages */typedef struct  /**< IxTimeSyncAccStats */{    UINT32 rxMsgs; /**< Count of timestamps for received PTP Messages */    UINT32 txMsgs; /**< Count of timestamps for transmitted PTP Messages */} IxTimeSyncAccStats;/** * @ingroup IxTimeSyncAcc * * @typedef IxTimeSyncAccTargetTimeCallback * * @brief Callback for use by target time stamp interrupt */typedef void (*IxTimeSyncAccTargetTimeCallback)(IxTimeSyncAccTimeValue targetTime);/** * @ingroup IxTimeSyncAcc * * @typedef IxTimeSyncAccAuxTimeCallback * * @brief Callback for use by auxiliary time interrupts */typedef void (*IxTimeSyncAccAuxTimeCallback)(IxTimeSyncAccAuxMode auxMode,             IxTimeSyncAccTimeValue auxTime);/* * Section for prototypes interface functions *//** * @ingroup IxTimeSyncAcc *  * @fn IxTimeSyncAccStatus ixTimeSyncAccPTPPortConfigSet(                               IxTimeSyncAcc1588PTPPort ptpPort,                               IxTimeSyncAcc1588PTPPortMode ptpPortMode) * * @brief Configures the IEEE 1588 message detect on particular PTP port. * * @param ptpPort [in] - PTP port to config * @param ptpPortMode [in]- Port to operate in Master or Slave mode * * This API will enable the time stamping on a particular PTP port. *           * @li Re-entrant   : No * @li ISR Callable : No *  * @return @li IX_TIMESYNCACC_SUCCESS - Operation is successful *         @li IX_TIMESYNCACC_INVALIDPARAM - Invalid parameters passed *         @li IX_TIMESYNCACC_FAILED - Internal error occurred */PUBLIC IxTimeSyncAccStatusixTimeSyncAccPTPPortConfigSet(IxTimeSyncAcc1588PTPPort ptpPort,       IxTimeSyncAcc1588PTPPortMode ptpPortMode);/** * @ingroup IxTimeSyncAcc *  * @fn IxTimeSyncAccStatus ixTimeSyncAccPTPPortConfigGet(                               IxTimeSyncAcc1588PTPPort ptpPort,                               IxTimeSyncAcc1588PTPPortMode *ptpPortMode) * * @brief Retrieves IEEE 1588 PTP operation mode on particular PTP port. * * @param ptpPort [in] - PTP port * @param ptpPortMode [in]- Mode of operation of PTP port (Master or Slave) * * This API will identify the time stamping capability of a PTP port by means * of obtaining its mode of operation. *           * @li Re-entrant   : No * @li ISR Callable : No *  * @return @li IX_TIMESYNCACC_SUCCESS - Operation is successful *         @li IX_TIMESYNCACC_INVALIDPARAM - Invalid parameters passed *         @li IX_TIMESYNCACC_FAILED - Internal error occurred */PUBLIC IxTimeSyncAccStatusixTimeSyncAccPTPPortConfigGet(IxTimeSyncAcc1588PTPPort ptpPort,    IxTimeSyncAcc1588PTPPortMode *ptpPortMode);/** * @ingroup IxTimeSyncAcc *  * @fn IxTimeSyncAccStatus ixTimeSyncAccPTPRxPoll(                               IxTimeSyncAcc1588PTPPort ptpPort,                               IxTimeSyncAccPtpMsgData  *ptpMsgData) * * @brief Polls the IEEE 1588 message/time stamp detect status on a particular  * PTP Port on the Receive side. * * @param ptpPort [in] - PTP port to poll * @param ptpMsgData [out] - Current TimeStamp and other Data * * This API will poll for the availability of a time stamp on the received Sync  * (Slave) or Delay_Req (Master) messages. * The client application will provide the buffer. *               * @li Re-entrant   : No * @li ISR Callable : No *  * @return @li IX_TIMESYNCACC_SUCCESS - Operation is successful *         @li IX_TIMESYNCACC_INVALIDPARAM - Invalid parameters passed *         @li IX_TIMESYNCACC_NOTIMESTAMP - No time stamp available *         @li IX_TIMESYNCACC_FAILED - Internal error occurred */PUBLIC IxTimeSyncAccStatusixTimeSyncAccPTPRxPoll(IxTimeSyncAcc1588PTPPort ptpPort,    IxTimeSyncAccPtpMsgData  *ptpMsgData);/** * @ingroup IxTimeSyncAcc *  * @fn IxTimeSyncAccStatus ixTimeSyncAccPTPTxPoll(                               IxTimeSyncAcc1588PTPPort ptpPort,                               IxTimeSyncAccPtpMsgData  *ptpMsgData) * * * @brief Polls the IEEE 1588 message/time stamp detect status on a particular  * PTP Port on the Transmit side. * * @param ptpPort [in] - PTP port to poll * @param ptpMsgData [out] - Current TimeStamp and other Data *                         * This API will poll for the availability of a time stamp on the transmitted * Sync (Master) or Delay_Req (Slave) messages. * The client application will provide the buffer. *               * @li Re-entrant   : No * @li ISR Callable : No *  * @return @li IX_TIMESYNCACC_SUCCESS - Operation is successful *         @li IX_TIMESYNCACC_INVALIDPARAM - Invalid parameters passed *         @li IX_TIMESYNCACC_NOTIMESTAMP - No time stamp available *         @li IX_TIMESYNCACC_FAILED - Internal error occurred */PUBLIC IxTimeSyncAccStatusixTimeSyncAccPTPTxPoll(IxTimeSyncAcc1588PTPPort ptpPort,    IxTimeSyncAccPtpMsgData  *ptpMsgData);/** * @ingroup IxTimeSyncAcc *  * @fn IxTimeSyncAccStatus ixTimeSyncAccSystemTimeSet(                               IxTimeSyncAccTimeValue systemTime) * * @brief Sets the System Time in the IEEE 1588 hardware assist block * * @param systemTime [in] - Value to set System Time *                         * This API will set the SystemTime to given value. *               * @li Re-entrant   : yes * @li ISR Callable : no *  * @return @li IX_TIMESYNCACC_SUCCESS - Operation is successful *         @li IX_TIMESYNCACC_FAILED - Internal error occurred */PUBLIC IxTimeSyncAccStatusixTimeSyncAccSystemTimeSet(IxTimeSyncAccTimeValue systemTime);/** * @ingroup IxTimeSyncAcc *  * @fn IxTimeSyncAccStatus ixTimeSyncAccSystemTimeGet(                               IxTimeSyncAccTimeValue *systemTime) * * @brief Gets the System Time from the IEEE 1588 hardware assist block * * @param systemTime [out] - Copy the current System Time into the client  * application provided buffer * * This API will get the SystemTime from IEEE1588 block and return to client *       * @li Re-entrant   : no * @li ISR Callable : no *  * @return @li IX_TIMESYNCACC_SUCCESS - Operation is successful *         @li IX_TIMESYNCACC_INVALIDPARAM - Invalid parameters passed *         @li IX_TIMESYNCACC_FAILED - Internal error occurred */PUBLIC IxTimeSyncAccStatusixTimeSyncAccSystemTimeGet(IxTimeSyncAccTimeValue *systemTime);/** * @ingroup IxTimeSyncAcc *  * @fn IxTimeSyncAccStatus ixTimeSyncAccTickRateSet(                               UINT32 tickRate) * * @brief Sets the Tick Rate (Frequency Scaling Value) in the IEEE 1588 * hardware assist block

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧洲综合另类在线| 91丨porny丨蝌蚪视频| 欧美日韩在线电影| 亚洲精品日产精品乱码不卡| 国产成人精品免费看| 欧美xxxxxxxxx| 日韩极品在线观看| 制服丝袜日韩国产| 亚洲综合在线电影| 在线免费精品视频| 一区二区免费视频| 91浏览器入口在线观看| 亚洲欧美日韩一区二区三区在线观看| 国产精品综合网| 国产亚洲欧美日韩俺去了| 午夜精品久久久| 91精品国产乱码久久蜜臀| 日本免费在线视频不卡一不卡二| 在线成人av网站| 久久国内精品自在自线400部| 精品久久久久久亚洲综合网| 狠狠色丁香婷综合久久| 日韩欧美一二区| 国产成人免费在线视频| 国产精品国产自产拍在线| 91免费看片在线观看| 亚洲乱码日产精品bd| 在线不卡中文字幕播放| 性做久久久久久久免费看| 在线不卡的av| 国产91丝袜在线播放0| 亚洲成人在线网站| 成人一二三区视频| 久久久久久久精| 成人av午夜影院| 一区二区三区在线免费播放| 6080日韩午夜伦伦午夜伦| 经典三级视频一区| 中文字幕欧美一区| 欧美高清dvd| 国产成人av一区二区三区在线观看| 国产精品久久久久久户外露出 | 色综合一个色综合亚洲| 夜夜揉揉日日人人青青一国产精品| 欧美久久久久中文字幕| 玖玖九九国产精品| 亚洲女人小视频在线观看| 日韩丝袜情趣美女图片| 成人午夜激情在线| 日本不卡一区二区三区| 国产精品视频yy9299一区| 欧美男生操女生| 国产一区二三区| 调教+趴+乳夹+国产+精品| 亚洲国产精品高清| 欧美一区二区视频在线观看| 91视频国产资源| 久久 天天综合| 国产精品久久久久天堂| 欧美性三三影院| 成人午夜电影网站| 日韩影视精彩在线| 一区二区三区四区激情| 中文字幕不卡在线播放| 日韩一级成人av| 欧洲国产伦久久久久久久| 国产精品自在在线| 日本不卡中文字幕| 亚洲美女屁股眼交| 亚洲国产成人一区二区三区| 欧美又粗又大又爽| 99久久精品免费精品国产| 国内偷窥港台综合视频在线播放| 亚洲夂夂婷婷色拍ww47| 综合久久国产九一剧情麻豆| 国产亚洲欧美中文| 久久嫩草精品久久久精品| 欧美一区二区三区免费观看视频| 欧美综合一区二区| 在线一区二区视频| 日本大香伊一区二区三区| 成人黄色小视频在线观看| 国产成人精品免费一区二区| 国产一区二区影院| 亚洲国产成人av网| 亚洲一区二区三区四区在线免费观看 | 日韩高清电影一区| 亚洲va欧美va天堂v国产综合| 亚洲人成网站精品片在线观看| 国产日韩精品一区| 久久久噜噜噜久噜久久综合| 精品粉嫩aⅴ一区二区三区四区| 欧美一级二级三级蜜桃| 在线成人av网站| 91精品国产综合久久香蕉麻豆 | 亚洲男人的天堂在线aⅴ视频| 亚洲国产精品国自产拍av| 日韩一区二区在线看| 91精品国产综合久久久蜜臀图片| 欧美日韩高清影院| 欧美欧美午夜aⅴ在线观看| 欧美肥胖老妇做爰| 欧美亚男人的天堂| 日本韩国欧美在线| 成人一道本在线| 色妞www精品视频| 欧美图片一区二区三区| 欧美丰满一区二区免费视频| 精品少妇一区二区三区在线播放 | 色乱码一区二区三区88| 91精品1区2区| 欧美日韩国产在线观看| 欧美一区二区三区啪啪| 日韩欧美美女一区二区三区| 久久久精品免费免费| 综合在线观看色| 亚洲va天堂va国产va久| 欧美一级欧美三级在线观看| 黑人巨大精品欧美一区| 不卡视频一二三四| 欧美日韩精品一区二区三区| 久久久久久久久一| 亚洲v精品v日韩v欧美v专区| 国产美女精品在线| 欧美卡1卡2卡| 中文字幕在线观看不卡| 免费成人在线观看视频| 91影视在线播放| 精品少妇一区二区三区视频免付费 | 91.麻豆视频| 国产精品久久久久婷婷二区次| 视频在线观看国产精品| 99久久er热在这里只有精品15| 欧美电影免费观看高清完整版在| 亚洲精品写真福利| 国产一区二区在线看| 91麻豆精品91久久久久久清纯| 亚洲三级电影网站| 国产一区二区三区av电影| 欧美日韩国产一级片| 亚洲免费观看高清| 成人黄页毛片网站| 国产偷国产偷精品高清尤物| 美女视频黄 久久| 欧美三级中文字| 亚洲欧美激情一区二区| 国产成人免费网站| 日韩欧美国产一区在线观看| 色老汉一区二区三区| 欧美成va人片在线观看| 性做久久久久久久久| 色婷婷精品大在线视频| 国产精品乱人伦中文| 韩国成人在线视频| 欧美不卡视频一区| 日韩av在线发布| 欧美伦理电影网| 爽好久久久欧美精品| 欧美在线不卡视频| 亚洲国产日韩一级| 欧美亚洲日本国产| 亚洲在线观看免费| 91国产精品成人| 一区二区三区免费网站| 色婷婷精品久久二区二区蜜臀av| 日韩毛片在线免费观看| 色视频一区二区| 亚洲国产日日夜夜| 欧美猛男gaygay网站| 五月婷婷久久综合| 日韩一区二区三区在线观看| 日韩av一区二区三区四区| 欧美精品日日鲁夜夜添| 青青草国产精品亚洲专区无| 日韩三级视频在线观看| 精品一区二区三区视频在线观看 | 91麻豆国产在线观看| 中文子幕无线码一区tr| 99国产精品99久久久久久| 亚洲另类一区二区| 欧美日韩情趣电影| 日韩和的一区二区| 欧美v国产在线一区二区三区| 免费久久99精品国产| 久久久久久久久久看片| a4yy欧美一区二区三区| 一区二区欧美国产| 日韩欧美电影在线| 国产成人99久久亚洲综合精品| 国产精品麻豆99久久久久久| 色综合久久中文综合久久牛| 亚洲电影在线播放| 精品国产乱码久久久久久牛牛| 成人激情视频网站| 午夜一区二区三区视频| 久久人人97超碰com| 91丨porny丨中文| 日韩专区一卡二卡| 国产日韩av一区| 欧美日本免费一区二区三区|