ctrl_status.h

Go to the documentation of this file.
00001 /* This file has been prepared for Doxygen automatic documentation generation.*/
00002 /*! \file ctrl_status.h ********************************************************
00003  *
00004  * \brief
00005  *      This file contains the interface :
00006  *         - between USB <-> MEMORY
00007  *      OR
00008  *         - between USB <- Access Memory Ctrl -> Memory
00009  *
00010  *      This interface may be controled by a "Access Memory Control" for :
00011  *         - include a management of write protect global or specific
00012  *         - include a management of access password
00013  *
00014  * \addtogroup usbstick
00015  *
00016  * \author
00017  *      Atmel Corporation: http://www.atmel.com \n
00018  *      Support email: avr@atmel.com
00019  ******************************************************************************/
00020 /* 
00021    Copyright (c) 2004  ATMEL Corporation
00022    All rights reserved.
00023 
00024    Redistribution and use in source and binary forms, with or without
00025    modification, are permitted provided that the following conditions are met:
00026 
00027    * Redistributions of source code must retain the above copyright
00028      notice, this list of conditions and the following disclaimer.
00029    * Redistributions in binary form must reproduce the above copyright
00030      notice, this list of conditions and the following disclaimer in
00031      the documentation and/or other materials provided with the
00032      distribution.
00033    * Neither the name of the copyright holders nor the names of
00034      contributors may be used to endorse or promote products derived
00035      from this software without specific prior written permission.
00036 
00037   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00038   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00039   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00040   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
00041   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
00042   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
00043   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
00044   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
00045   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
00046   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00047   POSSIBILITY OF SUCH DAMAGE.
00048 */
00049 
00050 /**
00051  \addtogroup usbstorage
00052  @{
00053 */
00054 
00055 #ifndef _CTRL_STATUS_H_
00056 #define _CTRL_STATUS_H_
00057 
00058 //_____ D E F I N I T I O N S ______________________________________________
00059 
00060 //!   Define control status
00061 typedef enum
00062 {
00063    CTRL_GOOD         =(PASS  )  // It is ready
00064 ,  CTRL_FAIL         =(FAIL  )  // Memory fail
00065 ,  CTRL_NO_PRESENT   =(FAIL+1)  // Memory unplug
00066 ,  CTRL_BUSY         =(FAIL+2)  // Not initialize
00067 } Ctrl_status;
00068 
00069 #endif   // _CTRL_STATUS_H_
00070 /** @} */

Generated on Mon Apr 11 14:23:36 2011 for Contiki 2.5 by  doxygen 1.6.1