CooCox 1.1.4 on mbed with simple blinky example

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers OsQueue.h Source File

OsQueue.h

Go to the documentation of this file.
00001 /**
00002  *******************************************************************************
00003  * @file       OsQueue.h
00004  * @version    V1.1.4    
00005  * @date       2011.04.20
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>&copy; 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