21e3f0f4c0d28aa3df33bb964d11eb0a027f53b3
Stefan Schuermans added "LEDs" I/O peripheral...

Stefan Schuermans authored 12 years ago

1) #include "leds.h"
2) 
Stefan Schuermans converted code to use const...

Stefan Schuermans authored 12 years ago

3) static volatile unsigned char *const leds_ptr =
4)   (volatile unsigned char *)0x80000000;
5) 
Stefan Schuermans added "LEDs" I/O peripheral...

Stefan Schuermans authored 12 years ago

6) /**
7)  * @brief set state of LEDS
8)  * @param[in] state LED state
9)  */
10) void leds_set_state(unsigned char state)
11) {
Stefan Schuermans converted code to use const...

Stefan Schuermans authored 12 years ago

12)   *leds_ptr = state;