Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
leds.h File Reference
#include <asm/pio-regs.h>
#include <asm/cpu-regs.h>
#include <asm/exceptions.h>

Go to the source code of this file.

Macros

#define ASB2305_7SEGLEDS   __SYSREG(0xA6F90000, u32)
 
#define mn10300_unit_hard_reset()
 
#define mn10300_set_dbfleds
 
#define mn10300_set_gdbleds(ONOFF)
 

Functions

void peripheral_leds_display_exception (enum exception_code)
 
void peripheral_leds_led_chase (void)
 
void peripheral_leds7x4_display_dec (unsigned int, unsigned int)
 
void peripheral_leds7x4_display_hex (unsigned int, unsigned int)
 
void peripheral_leds7x4_display_minssecs (unsigned int, unsigned int)
 
void peripheral_leds7x4_display_rtc (void)
 

Macro Definition Documentation

#define ASB2305_7SEGLEDS   __SYSREG(0xA6F90000, u32)

Definition at line 19 of file leds.h.

#define mn10300_set_dbfleds
Value:
mov 0x43077f1d,d0 ; \

Definition at line 32 of file leds.h.

#define mn10300_set_gdbleds (   ONOFF)
Value:
do { \
ASB2305_7SEGLEDS = (ONOFF) ? 0x8543077f : 0x7f7f7f7f; \
} while (0)

Definition at line 37 of file leds.h.

#define mn10300_unit_hard_reset ( )
Value:
do { \
P0OUT &= 0xbf; \
P0MD = (P0MD & P0MD_6) | P0MD_6_OUT; \
} while (0)

Definition at line 22 of file leds.h.

Function Documentation

void peripheral_leds7x4_display_dec ( unsigned  int,
unsigned  int 
)

Definition at line 36 of file leds.c.

void peripheral_leds7x4_display_hex ( unsigned  int,
unsigned  int 
)

Definition at line 52 of file leds.c.

void peripheral_leds7x4_display_minssecs ( unsigned  int,
unsigned  int 
)

Definition at line 82 of file leds.c.

void peripheral_leds7x4_display_rtc ( void  )

Definition at line 98 of file leds.c.

void peripheral_leds_display_exception ( enum  exception_code)

Definition at line 39 of file leds.c.

void peripheral_leds_led_chase ( void  )

Definition at line 45 of file leds.c.