902aa402b3830b9c9aa26758390b6eb93b42a0f5
Stefan Schuermans added file headers

Stefan Schuermans authored 12 years ago

1) /* MIPS I system
Stefan Schuermans replace email address in he...

Stefan Schuermans authored 12 years ago

2)  * Copyright 2011-2012 Stefan Schuermans <stefan@blinkenarea.org>
Stefan Schuermans added file headers

Stefan Schuermans authored 12 years ago

3)  * Copyleft GNU public license V2 or later
4)  *          http://www.gnu.org/copyleft/gpl.html
5)  */
6) 
Stefan Schuermans added "LEDs" I/O peripheral...

Stefan Schuermans authored 12 years ago

7) #include "leds.h"
8) 
Stefan Schuermans converted code to use const...

Stefan Schuermans authored 12 years ago

9) static volatile unsigned char *const leds_ptr =
10)   (volatile unsigned char *)0x80000000;
11) 
Stefan Schuermans added "LEDs" I/O peripheral...

Stefan Schuermans authored 12 years ago

12) /**
13)  * @brief set state of LEDS
14)  * @param[in] state LED state
15)  */
16) void leds_set_state(unsigned char state)
17) {
Stefan Schuermans converted code to use const...

Stefan Schuermans authored 12 years ago

18)   *leds_ptr = state;