hw_sensor.h
Go to the documentation of this file.00001
00040 #ifndef HW_SENSOR_H
00041 #define HW_SENSOR_H
00042
00043 #warning TODO:This is an example implementation, you must implement it!
00044
00045 #define NUM_HOME_SENSORS 1
00046
00047
00048 INLINE bool hw_home_sensor_read(int sensor)
00049 {
00050
00051
00052
00053 (void)sensor;
00054 return 0;
00055 }
00056
00057 INLINE void hw_home_sensor_set_inverted(int sensor, bool inverted)
00058 {
00059
00060
00061
00062 (void)sensor;
00063 (void)inverted;
00064 }
00065
00066 INLINE bool hw_level_sensor_read(int sensor)
00067 {
00068
00069
00070
00071 (void)sensor;
00072 return 0;
00073 }
00074
00075 INLINE void hw_level_sensor_set_inverted(int sensor, bool inverted)
00076 {
00077
00078
00079
00080 (void)sensor;
00081 (void)inverted;
00082 }
00083
00084 INLINE bool bld_hw_sensor_read(int sensor)
00085 {
00086
00087
00088
00089 (void)sensor;
00090 return 0;
00091 }
00092
00093 #endif