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 MN10300_USE_7SEGLEDS 0
21 #define ASB2364_7SEGLEDS __SYSREG(0xA9001630, u32)
27 #if MN10300_USE_7SEGLEDS
29 #define mn10300_set_gdbleds(ONOFF) \
31 ASB2364_7SEGLEDS = (ONOFF) ? 0x8543077f : 0x7f7f7f7f; \
34 #define mn10300_set_gdbleds(ONOFF) do {} while (0)
37 #if MN10300_USE_7SEGLEDS
39 #define mn10300_set_dbfleds \
41 mov d0,(ASB2364_7SEGLEDS)
43 #define mn10300_set_dbfleds