1 /***********************************************************************
3 * Copyright (C) 2004 by FS Forth-Systeme GmbH.
6 * $Id: led.c,v 1.1 2004/02/16 10:37:20 mpietrek Exp $
7 * @Author: Markus Pietrek
8 * @Descr: Defines helper functions for toggeling LEDs
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License as
14 * published by the Free Software Foundation; either version 2 of
15 * the License, or (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
27 ***********************************************************************/
29 #ifdef CONFIG_STATUS_LED
31 #include <ns9750_bbus.h>
33 static inline void __led_init( led_id_t mask
, int state
)
38 static inline void __led_toggle( led_id_t mask
)
42 static inline void __led_set( led_id_t mask
, int state
)
46 #endif /* CONFIG_STATUS_LED */