Contiki 2.6

cdc_task.h

Go to the documentation of this file.
00001 /* This file has been prepared for Doxygen automatic documentation generation.*/
00002 /*! \file cdc_task.h ************************************************************
00003  *
00004  * \brief
00005  *      This file manages the CDC task for the virtual COM port.
00006  *
00007  * \addtogroup usbstick
00008  *
00009  * \author
00010  *      Colin O'Flynn <coflynn@newae.com>
00011  *
00012  ******************************************************************************/
00013 /* Copyright (c) 2008  ATMEL Corporation
00014    Copyright (c) 2008 Colin O'Flynn
00015    All rights reserved.
00016 
00017    Redistribution and use in source and binary forms, with or without
00018    modification, are permitted provided that the following conditions are met:
00019 
00020    * Redistributions of source code must retain the above copyright
00021      notice, this list of conditions and the following disclaimer.
00022    * Redistributions in binary form must reproduce the above copyright
00023      notice, this list of conditions and the following disclaimer in
00024      the documentation and/or other materials provided with the
00025      distribution.
00026    * Neither the name of the copyright holders nor the names of
00027      contributors may be used to endorse or promote products derived
00028      from this software without specific prior written permission.
00029 
00030   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00031   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00032   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00033   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
00034   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
00035   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
00036   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
00037   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
00038   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
00039   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00040   POSSIBILITY OF SUCH DAMAGE.
00041 */
00042 
00043 #ifndef _CDC_TASK_H_
00044 #define _CDC_TASK_H_
00045 
00046 /**
00047  \addtogroup cdctask
00048  @{
00049  */
00050 
00051 //_____ I N C L U D E S ____________________________________________________
00052 
00053 
00054 #include "config.h"
00055 
00056 //_____ M A C R O S ________________________________________________________
00057 
00058 
00059 
00060 //_____ D E C L A R A T I O N S ____________________________________________
00061 
00062 
00063 void sof_action(void);
00064 void vcptx_end_led(void);
00065 
00066 void rawmode_enable(void);
00067 void rawmode_disable(void);
00068 
00069 PROCESS_NAME(cdc_process);
00070 
00071 /** @} */
00072 
00073 #endif /* _CDC_TASK_H_ */
00074