- Main Page
- Modules
- Data Structures
- Files
- Related Pages

# ctrl_status.h

Go to the documentation of this file.

    00001 /*This file has been prepared for Doxygen automatic documentation generation.*/
    00021
    00022 /* Copyright (c) 2007, 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  * THIS SOFTWARE IS PROVIDED BY ATMEL ``AS IS'' AND ANY EXPRESS OR IMPLIED
    00038  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
    00039  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE EXPRESSLY AND
    00040  * SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT,
    00041  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
    00042  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
    00043  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
    00044  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    00045  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
    00046  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    00047  */
    00048
    00049
    00050 #ifndef _CTRL_STATUS_H_
    00051 #define _CTRL_STATUS_H_
    00052
    00053 //_____ D E F I N I T I O N S ______________________________________________
    00054
    00056 typedef enum
    00057 {
    00058    CTRL_GOOD         =(PASS  )  // It is ready
    00059 ,  CTRL_FAIL         =(FAIL  )  // Memory fail
    00060 ,  CTRL_NO_PRESENT   =(FAIL+1)  // Memory unplug
    00061 ,  CTRL_BUSY         =(FAIL+2)  // Not initialize
    00062 } Ctrl_status;
    00063
    00064 #endif   // _CTRL_STATUS_H_
    00065