led.h

Go to the documentation of this file.
00001 /* This header file is part of the ATMEL AT32UC3A-SoftwareFramework-1.1.1 Release */
00002 
00003 /*This file is prepared for Doxygen automatic documentation generation.*/
00020 /* Copyright (c) 2007, Atmel Corporation All rights reserved.
00021  *
00022  * Redistribution and use in source and binary forms, with or without
00023  * modification, are permitted provided that the following conditions are met:
00024  *
00025  * 1. Redistributions of source code must retain the above copyright notice,
00026  * this list of conditions and the following disclaimer.
00027  *
00028  * 2. Redistributions in binary form must reproduce the above copyright notice,
00029  * this list of conditions and the following disclaimer in the documentation
00030  * and/or other materials provided with the distribution.
00031  *
00032  * 3. The name of ATMEL may not be used to endorse or promote products derived
00033  * from this software without specific prior written permission.
00034  *
00035  * THIS SOFTWARE IS PROVIDED BY ATMEL ``AS IS'' AND ANY EXPRESS OR IMPLIED
00036  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
00037  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE EXPRESSLY AND
00038  * SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT,
00039  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
00040  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00041  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
00042  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00043  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
00044  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00045  */
00046 
00047 
00048 #ifndef _LED_H_
00049 #define _LED_H_
00050 
00051 #include "compiler.h"
00052 
00053 
00056 
00057 #define LED0  0x01
00058 #define LED1  0x02
00059 #define LED2  0x04
00060 #define LED3  0x08
00061 #define LED4  0x10
00062 #define LED5  0x20
00063 #define LED6  0x40
00064 #define LED7  0x80
00066 
00067 
00074 extern U32 LED_Read_Display(void);
00075 
00082 extern void LED_Display(U32 leds);
00083 
00092 extern U32 LED_Read_Display_Mask(U32 mask);
00093 
00102 extern void LED_Display_Mask(U32 mask, U32 leds);
00103 
00113 extern Bool LED_Test(U32 leds);
00114 
00121 extern void LED_Off(U32 leds);
00122 
00129 extern void LED_On(U32 leds);
00130 
00137 extern void LED_Toggle(U32 leds);
00138 
00149 extern U32 LED_Read_Display_Field(U32 field);
00150 
00159 extern void LED_Display_Field(U32 field, U32 leds);
00160 
00173 extern U8 LED_Get_Intensity(U32 led);
00174 
00185 extern void LED_Set_Intensity(U32 leds, U8 intensity);
00186 
00187 
00188 #endif  // _LED_H_

Generated on Wed May 7 14:40:10 2008 for AVR32114 Using the AVR32 LCD Controller by  doxygen 1.5.3-20071008