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

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

?? zl5011xos.h

?? Zalink50114----TDMoIP芯片驅動源碼
?? H
?? 第 1 頁 / 共 2 頁
字號:
       int     arg         - argument with which to call routine
      );
*/

#define OS_AUX_TIMER_ENABLE()             sysAuxClkEnable()
/*
   void    sysAuxClkEnable (void);
*/

#define OS_AUX_TIMER_DISABLE()            sysAuxClkDisable()
/*
   void    sysAuxClkDisable (void);
*/

#define OS_AUX_TIMER_SET(rate)            sysAuxClkRateSet(rate)
/*
   STATUS  sysAuxClkRateSet (
      int ticksPerSecond  - number of clock interrupts per second
      );

   Notes
      Sets the interrupt rate of the auxiliary clock, but does not enable the auxiliary clock interrupt.

      Returns OK, or ERROR if the tick rate is invalid or the timer cannot be set.
*/

#define OS_AUX_TIMER_GET()                sysAuxClkRateGet()
/*
   int     sysAuxClkRateGet (void);
*/

/*****************   Interrupts   *********************************************/
/* Connect a C routine to a hardware interrupt */
#define OS_INTERRUPT_CONNECT intConnect
/*
   STATUS intConnect
       (
       VOIDFUNCPTR * vector,   - interrupt vector to attach to
       VOIDFUNCPTR   routine,  - routine to be called
       int           parameter - parameter to be passed to routine
       )

   Notes
      Returns OK or ERROR.
*/

/* disable the interrupt on the host */
#define OS_INTERRUPT_LOCK intLock
/*
   int   intLock (void);

   Notes
      Disables interrupts and returns a lock-out key representing the interrupt level prior to the call;
      this key can be passed to intUnlock( ) to re-enable interrupts.
*/

/* enable the interrupt on the host */
#define OS_INTERRUPT_UNLOCK intUnlock
/*
   void intUnlock
       (
       int lockKey - lock-out key returned by preceding intLock()
       )
*/


/* Enable the 'interrupLevel' interrupt to the processor */
#define OS_INTERRUPT_ENABLE(interruptLevel)    intEnable(interruptLevel)
/*
   int intEnable
       (
       int level     - new interrupt bits (0x00 - 0xff00)
       )

   Notes
      Enables the input interrupt bits on the present status register of the processor.
      Returns OK or ERROR.
*/

/* Disable the 'interrupLevel' interrupt to the processor */
#define OS_INTERRUPT_DISABLE(interruptLevel)   intDisable(interruptLevel)
/*
   int intDisable
       (
       int level     - new interrupt bits (0x0 - 0xff00)
       )

   Notes
      Returns OK or ERROR.
*/

/*****************   Semaphores   *********************************************/
/* Create and initialise a counting semaphore */
#define OS_SEMA4_CREATE(options,initialCount) semCCreate(options,initialCount)
/*
   SEM_ID semCCreate
       (
       int options,        - semaphore option modes
       int initialCount    - initial count
       )

   Notes
      Create and initialize a counting semaphore
      The options are SEM_Q_PRIORITY (0x1) and SEM_Q_FIFO (0x0) and specify the
      queuing style for blocked tasks. Tasks may be queued on a priority basis
      or a first-in-first-out basis.
      Returns a semaphore ID or NULL on failure.
*/

/* Give a semaphore */
#define OS_SEMA4_GIVE(semId) semGive(semId)
/*
   STATUS semGive
       (
       SEM_ID semId        - semaphore ID to give
       )

   Notes
      Returns OK, or ERROR if the semaphore ID is invalid.
*/

/* Take a semaphore */
#define OS_SEMA4_TAKE(semId,timeout) semTake(semId,timeout)
/*
   STATUS semTake
       (
       SEM_ID semId,       - semaphore ID to take
       int    timeout      - timeout in ticks or 0 = no wait, -1 = wait forever
       )

   Notes
      Returns OK, or ERROR if the semaphore ID is invalid or timed out.
*/

/* Delete a semaphore */
#define OS_SEMA4_DELETE(semId) semDelete(semId)
/*
   STATUS semDelete
       (
       SEM_ID semId        - semaphore ID to delete
       )

   Notes
      Returns OK, or ERROR if the semaphore ID is invalid.
*/

/*****************   Mutex Semaphores   ***************************************/
/* Create and initialise a mutex (binary) semaphore */
#define OS_MUTEX_CREATE(initialState) semBCreate(OS_SEM_Q_PRIORITY,initialState)
/*
   SEM_ID semBCreate
       (
       int         options,         - semaphore options
       SEM_B_STATE initialState     - initial semaphore state full=1 or empty=0.

       )

   Notes
      Create and initialize a binary semaphore
      The options are SEM_Q_PRIORITY (0x1) and SEM_Q_FIFO (0x0) and specify the
      queuing style for blocked tasks. Tasks may be queued on a priority basis
      or a first-in-first-out basis.
      The initialState is SEM_FULL (0x1) or SEM_EMPTY (0x0).
      Returns a semaphore ID or NULL on failure.
*/

/* Take a mutex semaphore - see OS_SEMA4_TAKE*/
#define OS_MUTEX_TAKE(mutex) semTake(mutex,OS_WAIT_FOREVER)

/* Take a mutex semaphore, and define a timeout value  - see OS_SEMA4_TAKE*/
#define OS_MUTEX_TAKE_T(mutex,timeout) semTake(mutex,OS_TICKS(timeout))

/* Give a mutex semaphore  - see OS_SEMA4_GIVE*/
#define OS_MUTEX_GIVE(mutex) semGive(mutex)

/* Delete a mutex semaphore  - see OS_SEMA4_DELETE*/
#define OS_MUTEX_DELETE(mutex) semDelete(mutex)

/*****************   Message Queues   *****************************************/
/* Create and initialise a message queue */
#define OS_MSG_Q_CREATE msgQCreate
/*
   MSG_Q_ID msgQCreate
       (
       int maxMsgs,           - max messages that can be queued
       int maxMsgLength,      - max bytes in a message
       int options            - message queue options
       )

   Notes
      Create and initialize a message queue. The options are MSG_Q_PRIORITY (0x1)
      and MSG_Q_FIFO (0x0) and specify the queuing style for blocked tasks. Tasks
      may be queued on a priority basis or a first-in-first-out basis.
      Returns a message queue ID or NULL on failure.

*/

/* Send a message to a message queue */
#define OS_MSG_Q_SEND msgQSend
/*
   STATUS msgQSend
       (
       MSG_Q_ID msgQId,       - message queue on which to send
       char *   buffer,       - message to send
       UINT     nBytes,       - length of message
       int      timeout,      - timeout in ticks or 0 = no wait, -1 = wait forever
       int      priority      - MSG_PRI_NORMAL or MSG_PRI_URGENT (add at head of queue)
       )

   Notes
      Send a message to a message queue. Returns OK or ERROR.
*/

/* Receive a message from a message queue */
#define OS_MSG_Q_RECEIVE msgQReceive
/*
   int msgQReceive
       (
       MSG_Q_ID msgQId,       - message queue from which to receive
       char *   buffer,       - buffer to receive message
       UINT     maxNBytes,    - length of buffer
       int      timeout       - timeout in ticks or 0 = no wait, -1 = wait forever
       )

   Notes
      Receive a message from a message queue.
      Returns the number of bytes copied to buffer, or ERROR.
*/

/* Delete a message queue */
#define OS_MSG_Q_DELETE msgQDelete
/*
   STATUS msgQDelete
       (
       MSG_Q_ID msgQId        - message queue to delete
       )

   Notes
      Delete a message queue - any blocked tasks will be unblocked with an error
      return code. Returns OK or ERROR.
*/

/* Determine the number of messages in a queue */
#define OS_MSG_Q_NUM_MSGS msgQNumMsgs
/*
   int msgQNumMsgs
       (
       MSG_Q_ID msgQId /         - message queue to examine
       )

   Notes
      Returns the number of messages queued, or ERROR.
*/

/*****************   logging functions   **************************************/

/* Set the file descriptor to which logging will be sent */
#define OS_LOG_INIT(x) logFdSet(x)
/*
   void logFdSet
       (
       int fd                    - file descriptor to use as logging device
       )

   Notes
      Changes the file descriptor where messages from logMsg( ) are written.
*/

/* Output a log message */
#define OS_LOG_MSG   logMsg
/*
      int logMsg
          (
          char * fmt,            - format string for print
          int    arg1,           - first of six required args for fmt
          int    arg2,
          int    arg3,
          int    arg4,
          int    arg5,
          int    arg6
          )

   Notes
      logMsg is a fixed number of argument version of printf. It uses a seperate logging task to
      actually perform the logging and hence can safely be called from time sensitive code such as
      interrupt service routines etc.
*/

/*****************   Memory allocation   **************************************/
/* Note: It is EXTREMELY important that these defines are mapped to the
appropriate RTOS calls if the processor has an internal cache. Failing to do
this will result in the DMA operating in an unpredictable manner              */
#define OS_CACHE_DMA_MALLOC(numOfBytes) cacheDmaMalloc(numOfBytes)
/*
   void * cacheDmaMalloc
       (
       size_t bytes              - number of bytes to allocate
       )

   Notes
      Allocate a cache-safe buffer for DMA devices and drivers.
      Returns a pointer to a section of memory that will not experience cache
      coherency problems or NULL.
*/

#define OS_CACHE_DMA_FREE(memoryP) cacheDmaFree(memoryP)
/*
   STATUS cacheDmaFree
       (
       void * pBuf               - pointer to malloc/free buffer
       )

   Notes
      Free the buffer acquired with cacheDmaMalloc( ). Returns OK or ERROR.
*/

#define OS_MALLOC(numOfBytes) malloc(numOfBytes)
#define OS_CALLOC(numEntries, numOfBytes) calloc(numEntries, numOfBytes)
#define OS_FREE(memoryP) free(memoryP)

/****************   Functions for locating base addresses   *******************/

#define OS_IMMR_GET vxImmrGet
/*
   UINT32  vxImmrGet    (void)

   Notes
      Returns the IMMR base address.
*/

/****************   Functions for handling DMA endian conversions  ************/

#ifdef _ZL5011X_DMA_CONVERT_LITTLE_ENDIAN

   #define ZL5011X_DMA_DATA_BYTE_ORDER(x)   (((x) << 24) | (((x) << 8) & 0x00FF0000) | \
                                          (((x) >> 8) & 0x0000FF00) | ((x) >> 24))

   #define ZL5011X_DMA_HEADER_BYTE_ORDER(x) (x)

#else
   /* standard endian format for PowerPc */

   #define ZL5011X_DMA_DATA_BYTE_ORDER(x)   (x)

   #define ZL5011X_DMA_HEADER_BYTE_ORDER(x) (((x) << 24) | (((x) << 8) & 0x00FF0000) | \
                                          (((x) >> 8) & 0x0000FF00) | ((x) >> 24))

#endif

/*****************   STATIC FUNCTION DECLARATIONS   ***************************/

#ifdef __cplusplus
}
#endif

#endif



?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久国产福利国产秒拍| 91日韩精品一区| 91久久国产综合久久| 精品久久人人做人人爽| 亚洲国产成人高清精品| 成人午夜av影视| 欧美成人福利视频| 天使萌一区二区三区免费观看| 成人午夜看片网址| 精品日韩一区二区三区 | 美女视频第一区二区三区免费观看网站| 国产91色综合久久免费分享| 9191久久久久久久久久久| 国产精品久久久久婷婷| 国产一区二区h| 欧美成人一区二区三区在线观看| 亚洲国产一区二区a毛片| 不卡av在线免费观看| 久久久久高清精品| 国产精品456| 国产亚洲精品bt天堂精选| 久久精品噜噜噜成人av农村| 欧美一卡2卡三卡4卡5免费| 亚洲二区视频在线| 欧美日本免费一区二区三区| 亚洲美女电影在线| 91久久精品国产91性色tv | 国产日本欧美一区二区| 精品综合久久久久久8888| 欧美一区二区三区在线看| 日本欧美肥老太交大片| 欧美精品日日鲁夜夜添| 肉肉av福利一精品导航| 91精品久久久久久久久99蜜臂| 无吗不卡中文字幕| 91精品国产综合久久久久久久久久| 日韩精品每日更新| 日韩一区二区三区免费观看| 麻豆国产精品777777在线| 精品国产乱码久久久久久夜甘婷婷| 久久99精品久久久| 日本一区二区视频在线观看| 成a人片亚洲日本久久| 亚洲精品日韩一| 欧美日韩免费一区二区三区| 天天影视色香欲综合网老头| 日韩欧美综合一区| 成人精品一区二区三区四区| 亚洲欧美日韩中文字幕一区二区三区| 91麻豆福利精品推荐| 亚洲一区在线视频观看| 欧美日本精品一区二区三区| 久久狠狠亚洲综合| 国产蜜臀97一区二区三区| 91久久国产综合久久| 日韩国产欧美视频| 国产精品午夜春色av| 91成人免费在线| 久久精品72免费观看| 国产精品你懂的| 欧美日韩精品免费观看视频| 极品美女销魂一区二区三区| 中文字幕亚洲在| 在线不卡免费av| 处破女av一区二区| 五月天亚洲精品| 国产精品女上位| 欧美一区二区三区不卡| 国产白丝精品91爽爽久久| 亚洲欧美经典视频| 国产午夜精品一区二区三区四区| 91色porny| 国产麻豆一精品一av一免费| 亚洲国产视频网站| 国产精品网站在线| 欧美成人a视频| 欧美日韩国产综合一区二区 | 自拍偷在线精品自拍偷无码专区| 欧美日韩在线三级| 国产成人精品三级| 午夜精品在线视频一区| 国产精品三级视频| 精品国产麻豆免费人成网站| 欧美日韩一级二级| av中文字幕不卡| 国产福利91精品| 琪琪久久久久日韩精品| 亚洲一区二区三区小说| 久久精品亚洲麻豆av一区二区 | 91天堂素人约啪| 国产乱子伦视频一区二区三区| 婷婷成人综合网| 亚洲激情av在线| 国产精品日韩成人| 久久婷婷成人综合色| 91精品免费在线| 欧美日免费三级在线| 91免费看片在线观看| www.亚洲色图| 国产成人久久精品77777最新版本| 蜜桃av一区二区三区| 亚洲成人av一区| 亚洲综合精品自拍| 亚洲你懂的在线视频| 国产精品国产a| 国产精品少妇自拍| 日韩一区在线免费观看| 中文字幕不卡在线观看| 久久久久久久网| 久久久国产精华| 日本一二三不卡| 中文字幕亚洲不卡| 亚洲丝袜另类动漫二区| 中文字幕在线视频一区| 亚洲国产精品成人综合色在线婷婷| 久久久久久久久久久久久久久99 | 色噜噜狠狠一区二区三区果冻| 成人网在线免费视频| 国产精品99久| eeuss影院一区二区三区| 成人黄色小视频| 91影视在线播放| 欧美性三三影院| 91精品久久久久久久99蜜桃| 精品国产亚洲在线| 国产日韩影视精品| 国产精品嫩草99a| 一区二区三区在线观看动漫| 亚洲第一激情av| 久久国产免费看| 成人午夜在线免费| 色偷偷88欧美精品久久久| 欧美在线观看一二区| 91精品国产欧美一区二区| 久久久久久久综合日本| 亚洲人精品午夜| 午夜免费久久看| 福利视频网站一区二区三区| 一本一道综合狠狠老| 欧美一区二区三区小说| 亚洲国产成人一区二区三区| 亚洲精品国产a| 久久99精品视频| 一本色道亚洲精品aⅴ| 欧美一区二区三区婷婷月色 | 国产一区二区三区日韩| va亚洲va日韩不卡在线观看| 欧美日韩国产另类一区| 精品国产乱码久久久久久图片 | 日韩亚洲电影在线| 国产三区在线成人av| 一区二区三区在线视频播放| 日本系列欧美系列| 国产成人日日夜夜| 色综合激情五月| 久久精品一二三| 午夜免费欧美电影| 91亚洲资源网| 欧美va亚洲va| 亚洲图片欧美色图| 成人激情校园春色| 日韩一区二区麻豆国产| 亚洲国产高清不卡| 狠狠网亚洲精品| 欧美精选一区二区| 亚洲天堂2016| 懂色av中文字幕一区二区三区 | 久草这里只有精品视频| 在线日韩av片| 最近中文字幕一区二区三区| 久久精品99久久久| 91精品免费观看| 亚洲一区二区精品视频| av在线一区二区三区| 国产亚洲精品中文字幕| 蜜芽一区二区三区| 欧美日韩免费一区二区三区视频 | 美女一区二区视频| 99这里只有精品| 国产日韩在线不卡| 久久超级碰视频| 欧美一区二区久久| 亚洲一区二区3| 成人性生交大合| 精品国产亚洲一区二区三区在线观看 | 久久久蜜桃精品| 国产麻豆一精品一av一免费| 欧美一级黄色录像| 视频在线观看一区| 91精品一区二区三区在线观看| 亚洲国产精品一区二区久久恐怖片 | 欧美电影免费观看完整版| 亚洲一区二区三区激情| 日本久久电影网| 一级中文字幕一区二区| 91视频观看视频| 亚洲精品免费电影| 欧美色综合网站| 视频在线观看一区| 日韩精品一区二区三区中文精品|