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

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

?? queue.h

?? Este é um rtos free para a familia arm7
?? H
?? 第 1 頁 / 共 2 頁
字號:
/*
	FreeRTOS V4.0.0 - Copyright (C) 2003-2006 Richard Barry.

	This file is part of the FreeRTOS distribution.

	FreeRTOS is free software; you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation; either version 2 of the License, or
	(at your option) any later version.

	FreeRTOS is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with FreeRTOS; if not, write to the Free Software
	Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

	A special exception to the GPL can be applied should you wish to distribute
	a combined work that includes FreeRTOS, without being obliged to provide
	the source code for any proprietary components.  See the licensing section 
	of http://www.FreeRTOS.org for full details of how and when the exception
	can be applied.

	***************************************************************************
	See http://www.FreeRTOS.org for documentation, latest information, license 
	and contact details.  Please ensure to read the configuration and relevant 
	port sections of the online documentation.
	***************************************************************************
*/

#ifndef QUEUE_H
#define QUEUE_H

typedef void * xQueueHandle;

/**
 * queue. h
 * <pre>
 xQueueHandle xQueueCreate( 
                              unsigned portBASE_TYPE uxQueueLength, 
                              unsigned portBASE_TYPE uxItemSize 
                          );
 * </pre>
 *
 * Creates a new queue instance.  This allocates the storage required by the
 * new queue and returns a handle for the queue.
 *
 * @param uxQueueLength The maximum number of items that the queue can contain.
 *
 * @param uxItemSize The number of bytes each item in the queue will require.  
 * Items are queued by copy, not by reference, so this is the number of bytes
 * that will be copied for each posted item.  Each item on the queue must be
 * the same size.
 *
 * @return If the queue is successfully create then a handle to the newly 
 * created queue is returned.  If the queue cannot be created then 0 is
 * returned.
 * 
 * Example usage:
   <pre>
 struct AMessage
 {
    portCHAR ucMessageID;
    portCHAR ucData[ 20 ];
 };

 void vATask( void *pvParameters )
 {
 xQueueHandle xQueue1, xQueue2;

    // Create a queue capable of containing 10 unsigned long values.
    xQueue1 = xQueueCreate( 10, sizeof( unsigned portLONG ) );
    if( xQueue1 == 0 )
    {
        // Queue was not created and must not be used.
    }

    // Create a queue capable of containing 10 pointers to AMessage structures.
    // These should be passed by pointer as they contain a lot of data.
    xQueue2 = xQueueCreate( 10, sizeof( struct AMessage * ) );
    if( xQueue2 == 0 )
    {
        // Queue was not created and must not be used.
    }

    // ... Rest of task code.
 }
 </pre>
 * \defgroup xQueueCreate xQueueCreate
 * \ingroup QueueManagement
 */
xQueueHandle xQueueCreate( unsigned portBASE_TYPE uxQueueLength, unsigned portBASE_TYPE uxItemSize );

/**
 * queue. h
 * <pre>
 portBASE_TYPE xQueueSend( 
                             xQueueHandle xQueue, 
                             const void * pvItemToQueue, 
                             portTickType xTicksToWait 
                         );
 * </pre>
 *
 * Post an item on a queue.  The item is queued by copy, not by reference.
 * This function must not be called from an interrupt service routine.
 * See xQueueSendFromISR () for an alternative which may be used in an ISR.
 *
 * @param xQueue The handle to the queue on which the item is to be posted.
 * 
 * @param pvItemToQueue A pointer to the item that is to be placed on the 
 * queue.  The size of the items the queue will hold was defined when the
 * queue was created, so this many bytes will be copied from pvItemToQueue
 * into the queue storage area.
 *
 * @param xTicksToWait The maximum amount of time the task should block
 * waiting for space to become available on the queue, should it already
 * be full.  The call will return immediately if this is set to 0.  The
 * time is defined in tick periods so the constant portTICK_RATE_MS 
 * should be used to convert to real time if this is required.
 *
 * @return pdTRUE if the item was successfully posted, otherwise errQUEUE_FULL.
 *
 * Example usage:
   <pre>
 struct AMessage
 {
    portCHAR ucMessageID;
    portCHAR ucData[ 20 ];
 } xMessage;

 unsigned portLONG ulVar = 10UL;

 void vATask( void *pvParameters )
 {
 xQueueHandle xQueue1, xQueue2;
 struct AMessage *pxMessage;

    // Create a queue capable of containing 10 unsigned long values.
    xQueue1 = xQueueCreate( 10, sizeof( unsigned portLONG ) );

    // Create a queue capable of containing 10 pointers to AMessage structures.
    // These should be passed by pointer as they contain a lot of data.
    xQueue2 = xQueueCreate( 10, sizeof( struct AMessage * ) );

    // ...

    if( xQueue1 != 0 )
    {
        // Send an unsigned long.  Wait for 10 ticks for space to become 
        // available if necessary.
        if( xQueueSend( xQueue1, ( void * ) &ulVar, ( portTickType ) 10 ) != pdPASS )
        {
            // Failed to post the message, even after 10 ticks.
        }
    }

    if( xQueue2 != 0 )
    {
        // Send a pointer to a struct AMessage object.  Don't block if the
        // queue is already full.
        pxMessage = & xMessage;
        xQueueSend( xQueue2, ( void * ) &pxMessage, ( portTickType ) 0 );
    }

	// ... Rest of task code.
 }
 </pre>
 * \defgroup xQueueSend xQueueSend
 * \ingroup QueueManagement
 */
signed portBASE_TYPE xQueueSend( xQueueHandle xQueue, const void * pvItemToQueue, portTickType xTicksToWait );

/**
 * queue. h
 * <pre>
 portBASE_TYPE xQueueReceive( 
                                xQueueHandle xQueue, 
                                void *pvBuffer, 
                                portTickType xTicksToWait 
                            );</pre>
 *
 * Receive an item from a queue.  The item is received by copy so a buffer of 
 * adequate size must be provided.  The number of bytes copied into the buffer
 * was defined when the queue was created.
 *
 * This function must not be used in an interrupt service routine.  See
 * xQueueReceiveFromISR for an alternative that can.
 *
 * @param pxQueue The handle to the queue from which the item is to be
 * received.
 *
 * @param pvBuffer Pointer to the buffer into which the received item will
 * be copied.
 * 
 * @param xTicksToWait The maximum amount of time the task should block
 * waiting for an item to receive should the queue be empty at the time
 * of the call.    The time is defined in tick periods so the constant 
 * portTICK_RATE_MS should be used to convert to real time if this is required.
 *
 * @return pdTRUE if an item was successfully received from the queue,
 * otherwise pdFALSE.
 *
 * Example usage:
   <pre>
 struct AMessage
 {
    portCHAR ucMessageID;
    portCHAR ucData[ 20 ];
 } xMessage;

 xQueueHandle xQueue;
 
 // Task to create a queue and post a value.
 void vATask( void *pvParameters )
 {
 struct AMessage *pxMessage;

    // Create a queue capable of containing 10 pointers to AMessage structures.
    // These should be passed by pointer as they contain a lot of data.
    xQueue = xQueueCreate( 10, sizeof( struct AMessage * ) );
    if( xQueue == 0 )
    {
        // Failed to create the queue.
    }

    // ...

    // Send a pointer to a struct AMessage object.  Don't block if the
    // queue is already full.
    pxMessage = & xMessage;
    xQueueSend( xQueue, ( void * ) &pxMessage, ( portTickType ) 0 );

	// ... Rest of task code.
 }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕巨乱亚洲| 日韩理论电影院| 成人午夜免费电影| 国产91清纯白嫩初高中在线观看 | 亚洲成人动漫在线免费观看| 国产精品不卡在线| 国产欧美精品一区二区三区四区 | 久久机这里只有精品| 日本午夜精品视频在线观看| 丝袜国产日韩另类美女| 国产欧美在线观看一区| 在线电影院国产精品| 欧美一区二区三区四区在线观看| 国产精品香蕉一区二区三区| 亚洲在线中文字幕| 一区二区三区毛片| 亚洲男人的天堂在线观看| 久久九九影视网| 国产精品情趣视频| 国产嫩草影院久久久久| 国产精品色呦呦| 精品国产一区二区三区av性色| 国产日产精品1区| 尤物视频一区二区| 久久狠狠亚洲综合| 91亚洲午夜精品久久久久久| 色综合久久综合网97色综合| 欧美午夜电影网| 精品1区2区在线观看| 国产精品久久久久久久蜜臀| 亚洲激情第一区| 99精品黄色片免费大全| 国产亚洲综合av| 狠狠色狠狠色合久久伊人| 欧美性生活大片视频| 一区二区中文字幕在线| 狂野欧美性猛交blacked| 91美女在线视频| 亚洲综合激情小说| 成人妖精视频yjsp地址| 久久欧美一区二区| 免费看欧美美女黄的网站| 欧美日韩一区高清| 亚洲色大成网站www久久九九| 加勒比av一区二区| 欧美变态tickle挠乳网站| 亚洲丰满少妇videoshd| 色婷婷精品久久二区二区蜜臂av | 综合久久久久久| 色伊人久久综合中文字幕| 欧美日韩亚洲不卡| 日韩国产精品91| 欧美高清精品3d| 亚洲成人av免费| 欧美日韩精品电影| 国产一区二区三区四区在线观看 | 久久综合久色欧美综合狠狠| 国产69精品久久777的优势| 一区二区三区成人| 欧美性色黄大片手机版| 国产精品色哟哟| 午夜免费久久看| 在线观看欧美黄色| 一区二区三区日韩欧美| 国产aⅴ精品一区二区三区色成熟| 日韩三级免费观看| 不卡视频在线看| **网站欧美大片在线观看| 欧美久久一区二区| 国产乱码精品1区2区3区| 91精品国产综合久久久久久| 久久91精品国产91久久小草| 久久综合狠狠综合久久综合88 | 国产精品毛片大码女人| 91在线视频播放| 亚洲男同性视频| 欧美日韩一区三区四区| 午夜精品久久久久| 国产午夜亚洲精品羞羞网站| 懂色中文一区二区在线播放| 天堂va蜜桃一区二区三区漫画版| 中文久久乱码一区二区| 日韩午夜中文字幕| 国产在线日韩欧美| 久久av老司机精品网站导航| 国产丝袜欧美中文另类| 日本高清视频一区二区| 国产成人aaaa| 免费黄网站欧美| 日韩理论在线观看| 日韩欧美亚洲一区二区| 91视频www| www.66久久| 国产精品一卡二卡| 视频在线观看91| 麻豆精品一区二区三区| 青青草国产精品亚洲专区无| 偷偷要91色婷婷| 1024国产精品| 久久久久免费观看| 精品国产成人系列| 欧美理论电影在线| 6080日韩午夜伦伦午夜伦| 欧美视频一区二区在线观看| 色哟哟一区二区| 91精品国产美女浴室洗澡无遮挡| 欧美精品一区二区三区很污很色的| 亚洲欧洲精品一区二区精品久久久| 中文字幕亚洲视频| 综合久久国产九一剧情麻豆| 天堂va蜜桃一区二区三区漫画版| 精品一区二区三区不卡 | 日韩精品国产精品| 色综合天天性综合| 久久夜色精品国产欧美乱极品| 亚洲综合在线免费观看| 久久国产麻豆精品| 国产精品一区免费视频| 亚洲综合精品自拍| 丁香网亚洲国际| 欧美亚洲综合色| 国产精品三级久久久久三级| 激情小说亚洲一区| 成人99免费视频| 日韩一级视频免费观看在线| 国产精品私人影院| 亚洲日本乱码在线观看| 日本怡春院一区二区| 国产激情偷乱视频一区二区三区| 国产综合久久久久影院| 国产在线不卡视频| 精品久久久网站| 亚洲一区二区欧美| 国产69精品久久777的优势| 欧美日韩国产一二三| 欧美国产日韩亚洲一区| 亚洲乱码国产乱码精品精可以看| 蜜乳av一区二区三区| 免费观看成人鲁鲁鲁鲁鲁视频| 国产成人精品www牛牛影视| 日本韩国欧美三级| 久久精品一区二区三区av| 亚洲国产综合在线| 欧美在线你懂得| 日本网站在线观看一区二区三区| 欧美无人高清视频在线观看| 国产精品系列在线| 国产精品一区在线观看乱码| 69堂成人精品免费视频| 麻豆国产欧美日韩综合精品二区 | 一本高清dvd不卡在线观看| 国产欧美日韩三区| 色老汉一区二区三区| 亚洲综合成人在线视频| 国产尤物一区二区| 亚洲成a人片在线观看中文| 欧美不卡一区二区三区| 成人福利电影精品一区二区在线观看| 亚洲色图在线视频| 色婷婷av一区二区三区gif| 欧美国产乱子伦| 91在线porny国产在线看| 亚洲一区二区在线免费观看视频| 日韩免费观看高清完整版 | 亚洲欧美aⅴ...| 精品福利二区三区| 色av成人天堂桃色av| 麻豆精品一二三| 国产日韩欧美不卡| 国产亚洲1区2区3区| 欧美大片顶级少妇| 在线国产电影不卡| 国产一区二区三区四区在线观看| 亚洲三级理论片| 一区二区三区四区高清精品免费观看| 国产视频一区二区在线观看| 日韩一区二区麻豆国产| 色播五月激情综合网| 成人免费看视频| 国产麻豆精品一区二区| 美国一区二区三区在线播放| 亚洲精品成人精品456| 久久久精品免费免费| 中文av一区二区| 一区二区在线观看免费视频播放| 亚洲激情欧美激情| 一区二区不卡在线视频 午夜欧美不卡在| 欧美一区二区免费| 26uuu成人网一区二区三区| 国产日韩欧美高清在线| 亚洲视频在线观看一区| 亚洲老妇xxxxxx| 国产精品免费人成网站| 中文字幕一区二区在线观看| 国产精品久久久久久久久免费相片 | 日韩一二三四区| 中文字幕在线不卡| 韩国三级在线一区| 91精彩视频在线观看| 欧美精品一区二区久久婷婷|