BlinkenArea - GitList
Repositories
Blog
Wiki
mips_sys
Code
Commits
Branches
Tags
Search
Tree:
5e29ab5
Branches
Tags
master
mips_sys
fw
switches.h
implemented switches
Stefan Schuermans
commited
5e29ab5
at 2012-02-12 20:47:12
switches.h
Blame
History
Raw
#ifndef SWITCHES_H #define SWITCHES_H /** switch identifier */ typedef enum e_switch { sw_0 = 0, sw_1 = 1, sw_2 = 2, sw_3 = 3, sw_east = 8, sw_north = 9, sw_south = 10, sw_west = 11, sw_center = 16, sw_rot_a = 24, sw_rot_b = 25 } t_switch; /** * @brief get state of switch * @param[in] sw swich identifier * @return switch state */ int switches_get_state(t_switch sw); #endif /* #ifndef SWITCHES_H */