Go to the documentation of this file.
12 #ifndef _ASM_UNIT_LEDS_H
13 #define _ASM_UNIT_LEDS_H
17 #include <asm/exceptions.h>
19 #define ASB2303_GPIO0DEF __SYSREG(0xDB000000, u32)
20 #define ASB2303_7SEGLEDS __SYSREG(0xDB000008, u32)
27 #define mn10300_set_gdbleds(ONOFF) \
29 ASB2303_7SEGLEDS = (ONOFF) ? 0x85 : 0x7f; \
33 #define mn10300_set_dbfleds \
35 movbu d0,(ASB2303_7SEGLEDS)