BlinkenArea - GitList
Repositories
Blog
Wiki
mips_sys
Code
Commits
Branches
Tags
Search
Tree:
21e3f0f
Branches
Tags
master
mips_sys
fw
leds.c
converted code to use constants in data memory
Stefan Schuermans
commited
21e3f0f
at 2012-02-12 18:24:53
leds.c
Blame
History
Raw
#include "leds.h" static volatile unsigned char *const leds_ptr = (volatile unsigned char *)0x80000000; /** * @brief set state of LEDS * @param[in] state LED state */ void leds_set_state(unsigned char state) { *leds_ptr = state; }