Index: firmware/App/Controllers/Valves.h =================================================================== diff -u -ra7bf3ca23ea37a61000379facae628a31b3ecc59 -r482f4465ccdb813922de506bf780e29f4fb2f84b --- firmware/App/Controllers/Valves.h (.../Valves.h) (revision a7bf3ca23ea37a61000379facae628a31b3ecc59) +++ firmware/App/Controllers/Valves.h (.../Valves.h) (revision 482f4465ccdb813922de506bf780e29f4fb2f84b) @@ -22,16 +22,15 @@ /** * @defgroup Valves Valves - * @brief Valves driver module. - * Controls valves. + * @brief Valves driver module. Controls valves. * * @addtogroup Valves * @{ */ // ********** public definitions ********** -/// Enumeration of available valve state names per valve type (from SA and DG SRS documents) +/// Enumeration of available valve state names per valve type (from SA and DG SRS documents). typedef enum ValveStateNames { VALVE_STATE_OPEN = 0, ///< Open valve state, used only for VPi, VBf, and VSP @@ -49,7 +48,7 @@ NUM_OF_VALVE_STATES ///< number of valve states } VALVE_STATE_NAMES_T; -/// Enumeration of valves +/// Enumeration of valves. typedef enum Valves { VRF = 0, ///< Valve Reservoir Fill @@ -70,11 +69,11 @@ // ********** public function prototypes ********** -void initValves( void ); // initialize the valves driver -void execValves( void ); // execute the valves driver +void initValves( void ); +void execValves( void ); -BOOL setValveState( VALVES_T valve, VALVE_STATE_NAMES_T valveState ); // set valve's state to valveState -DATA_ARRAY_GET_PROTOTYPE( U32, getValveState, valveID ); // get valve state for given valve +BOOL setValveState( VALVES_T valve, VALVE_STATE_NAMES_T valveState ); +U32 getValveState( U32 valveID ); BOOL testSetValvesStatesPublishIntervalOverride( U32 value ); BOOL testResetValvesStatesPublishIntervalOverride( void ); @@ -83,4 +82,4 @@ /**@}*/ -#endif /* __VALVES_H__ */ +#endif