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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? 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.
 }

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品嫩草99a| 成人国产电影网| 国产成a人亚洲| 欧美色视频在线| 国产精品私房写真福利视频| 日韩在线观看一区二区| 色偷偷久久人人79超碰人人澡| 精品裸体舞一区二区三区| 一区二区视频在线| 粉嫩绯色av一区二区在线观看| 91精品国产福利在线观看| 日韩伦理电影网| 成人性生交大片免费看视频在线 | 国产区在线观看成人精品| 亚洲一区二区三区视频在线播放| 丁香一区二区三区| 欧美电视剧免费全集观看| 亚洲一区免费观看| 色婷婷国产精品久久包臀 | 亚洲精品国产视频| 成人夜色视频网站在线观看| 精品国产精品网麻豆系列| 亚洲成av人影院| 欧美日精品一区视频| 夜夜嗨av一区二区三区网页| av电影一区二区| 国产精品视频第一区| 国产麻豆日韩欧美久久| 久久久三级国产网站| 国内偷窥港台综合视频在线播放| 91精品国产综合久久香蕉的特点 | 久久99精品久久久久久久久久久久 | 国产精品久久一级| 99综合电影在线视频| 国产精品久久久久精k8| 成人激情免费视频| 亚洲色图制服丝袜| 色94色欧美sute亚洲线路二| 亚洲美女偷拍久久| 欧美日韩日日摸| 另类成人小视频在线| 久久久一区二区| 成人精品一区二区三区四区| 中文字幕一区不卡| 欧美日韩一区三区| 精品亚洲免费视频| 国产日产精品一区| 在线观看www91| 捆绑调教美女网站视频一区| 久久九九99视频| 色欧美日韩亚洲| 日本中文字幕一区| 中文成人av在线| 在线观看日韩电影| 久久国产福利国产秒拍| 欧美国产精品v| 欧美视频精品在线| 国模套图日韩精品一区二区| 国产精品乱码一区二区三区软件 | www久久久久| 成人av片在线观看| 丝袜美腿一区二区三区| 国产女人18水真多18精品一级做| 91影院在线观看| 蜜臀av性久久久久蜜臀aⅴ| 国产日本亚洲高清| 欧美精品 日韩| 成人免费视频一区| 日韩在线卡一卡二| 亚洲天堂久久久久久久| 91精品国产手机| www.欧美日韩国产在线| 日韩中文欧美在线| 一区二区三区久久| 欧美经典一区二区| 91精品福利在线一区二区三区| 粉嫩aⅴ一区二区三区四区| 日韩国产成人精品| 亚洲色图20p| 国产亲近乱来精品视频| 91精品国产综合久久香蕉的特点 | 亚洲超丰满肉感bbw| 中文子幕无线码一区tr| 日韩一级大片在线观看| 在线视频中文字幕一区二区| 国产经典欧美精品| 麻豆久久久久久久| 日韩在线a电影| 亚洲国产视频一区| 亚洲美女免费在线| 欧美经典一区二区三区| 欧美成人精品二区三区99精品| 91福利社在线观看| 99re亚洲国产精品| 东方欧美亚洲色图在线| 久久9热精品视频| 日韩电影免费在线| 亚洲国产aⅴ天堂久久| 1024亚洲合集| 亚洲国产电影在线观看| 久久精品视频在线免费观看| 日韩天堂在线观看| 日韩手机在线导航| 日韩一区二区免费在线电影| 欧美网站一区二区| 欧美三级韩国三级日本一级| 在线观看www91| 精品污污网站免费看| 欧美色图片你懂的| 欧美日韩激情一区二区三区| 欧美午夜精品一区| 欧美三级午夜理伦三级中视频| 色视频成人在线观看免| 欧美影视一区在线| 欧美精品在线观看播放| 在线综合+亚洲+欧美中文字幕| 欧美浪妇xxxx高跟鞋交| 337p亚洲精品色噜噜狠狠| 欧美一个色资源| 日韩欧美美女一区二区三区| 337p粉嫩大胆噜噜噜噜噜91av| 精品国产91洋老外米糕| 久久久一区二区三区| 国产精品毛片高清在线完整版| 亚洲欧美视频在线观看视频| 亚洲最新视频在线播放| 午夜一区二区三区在线观看| 日本欧美久久久久免费播放网| 久久精品国产久精国产爱| 欧美成人aa大片| 精品国产1区2区3区| 久久精品国产免费| 亚洲欧美另类综合偷拍| 亚洲摸摸操操av| 日韩激情中文字幕| 国内成人自拍视频| 91丨porny丨最新| 欧美精选午夜久久久乱码6080| 日韩免费看的电影| 国产精品高潮久久久久无| 夜夜精品视频一区二区 | 国产欧美日韩视频一区二区| 国产精品成人一区二区艾草 | 99热99精品| 欧美日韩激情一区| 久久久久久久久久美女| 一区二区三区中文免费| 久久er99热精品一区二区| 成人av网站在线观看免费| 欧美人xxxx| 国产精品沙发午睡系列990531| 亚洲高清一区二区三区| 国内成人精品2018免费看| 色94色欧美sute亚洲线路二| 欧美大片在线观看一区二区| 亚洲人成在线观看一区二区| 日韩极品在线观看| 色偷偷久久人人79超碰人人澡 | 国产精品久久三区| 日本大胆欧美人术艺术动态| 成人小视频在线| 欧美一区二区三区影视| 自拍偷拍亚洲综合| 极品美女销魂一区二区三区| 色综合久久久久久久久| 久久久久久久电影| 奇米影视一区二区三区小说| 91麻豆国产自产在线观看| 精品国精品国产| 日韩vs国产vs欧美| 日本二三区不卡| 亚洲国产精品t66y| 国产一区二区三区国产| 5858s免费视频成人| 亚洲欧美日本在线| 亚洲精品成人精品456| 成人做爰69片免费看网站| 精品国产凹凸成av人网站| 午夜影院久久久| 欧美性xxxxxxxx| 亚洲色欲色欲www| 9久草视频在线视频精品| 久久综合久久久久88| 麻豆精品在线视频| 91精品一区二区三区在线观看| 亚洲成av人影院在线观看网| 在线一区二区三区四区五区 | 久久99国产精品免费网站| 欧美视频一二三区| 亚洲成人三级小说| 精品视频1区2区| 亚洲成人一二三| 欧美日韩在线综合| 午夜精品一区二区三区电影天堂| 91蝌蚪porny| 亚洲另类春色校园小说| 色丁香久综合在线久综合在线观看| 亚洲欧美激情小说另类| 91麻豆精品在线观看| 亚洲一卡二卡三卡四卡五卡|