ctrl_status.h

Go to the documentation of this file.
00001 /*This file is prepared for Doxygen automatic documentation generation.*/
00021 
00022 /* Copyright (c) 2009 Atmel Corporation. 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  * 1. Redistributions of source code must retain the above copyright notice,
00028  * this list of conditions and the following disclaimer.
00029  *
00030  * 2. Redistributions in binary form must reproduce the above copyright notice,
00031  * this list of conditions and the following disclaimer in the documentation
00032  * and/or other materials provided with the distribution.
00033  *
00034  * 3. The name of Atmel may not be used to endorse or promote products derived
00035  * from this software without specific prior written permission.
00036  *
00037  * 4. This software may only be redistributed and used in connection with an Atmel
00038  * AVR product.
00039  *
00040  * THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED
00041  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
00042  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE EXPRESSLY AND
00043  * SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT,
00044  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
00045  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00046  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
00047  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00048  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
00049  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00050  */
00051 
00052 
00053 #ifndef _CTRL_STATUS_H_
00054 #define _CTRL_STATUS_H_
00055 
00056 //_____ D E F I N I T I O N S ______________________________________________
00057 
00059 typedef enum
00060 {
00061    CTRL_GOOD         =(PASS  )  // It is ready
00062 ,  CTRL_FAIL         =(FAIL  )  // Memory fail
00063 ,  CTRL_NO_PRESENT   =(FAIL+1)  // Memory unplug
00064 ,  CTRL_BUSY         =(FAIL+2)  // Not initialize
00065 } Ctrl_status;
00066 
00067 #endif   // _CTRL_STATUS_H_
00068 

Generated on Wed Sep 23 09:17:02 2009 for ATMEL by  doxygen 1.5.3