Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
OsQueue.h
00001 /** 00002 ******************************************************************************* 00003 * @file OsQueue.h 00004 * @version V1.1.3 00005 * @date 2010.04.26 00006 * @brief Queue management header file 00007 * @details This file including some defines and declares about queue management. 00008 ******************************************************************************* 00009 * @copy 00010 * 00011 * INTERNAL FILE,DON'T PUBLIC. 00012 * 00013 * <h2><center>© COPYRIGHT 2009 CooCox </center></h2> 00014 ******************************************************************************* 00015 */ 00016 00017 00018 #ifndef _QUEUE_H 00019 #define _QUEUE_H 00020 00021 00022 /** 00023 * @struct Queue queue.h 00024 * @brief Queue struct 00025 * @details This struct use to manage queue. 00026 * 00027 */ 00028 typedef struct Queue 00029 { 00030 void **qStart ; /*!< */ 00031 U8 id ; /*!< */ 00032 U16 head ; /*!< The header of queue */ 00033 U16 tail ; /*!< The end of queue */ 00034 U16 qMaxSize ; /*!< The max size of queue */ 00035 U16 qSize ; /*!< Current size of queue */ 00036 }QCB,*P_QCB; 00037 00038 00039 #endif
Generated on Tue Jul 12 2022 15:09:51 by
1.7.2