// ----------------------------------------------------------------------------- /// @file Power6V5Supply.h /// @brief File description // ----------------------------------------------------------------------------- // Micro-Key bv // Industrieweg 28, 9804 TG Noordhorn // Postbus 92, 9800 AB Zuidhorn // The Netherlands // Tel: +31 594 503020 // Fax: +31 594 505825 // Email: support@microkey.nl // Web: www.microkey.nl // ----------------------------------------------------------------------------- /// $Revision$ /// $Author$ /// $Date$ // (c) 2015 Micro-Key bv // ----------------------------------------------------------------------------- /// @defgroup {group_name} {group_description} /// Description /// @file Power6V5Supply.h /// @ingroup {group_name} #ifndef INC_POWER6V5SUPPLY_H_ #define INC_POWER6V5SUPPLY_H_ // ----------------------------------------------------------------------------- // Include files // ----------------------------------------------------------------------------- #include #include "stm32f10x.h" #include "platform.h" #include "gpio.h" // ----------------------------------------------------------------------------- // Constant and macro definitions // ----------------------------------------------------------------------------- // ----------------------------------------------------------------------------- // Type definitions. // ----------------------------------------------------------------------------- // ----------------------------------------------------------------------------- // Function declarations // ----------------------------------------------------------------------------- /** ---------------------------------------------------------------------------- * Power6V5Supply_construct * Constructor for a 6V5 power supply * * @param self * @param solenoidGpio * @return ErrorStatus * * @todo * ----------------------------------------------------------------------------- */ extern ErrorStatus Power6V5Supply_construct(struct Gpio* gpio); /** ---------------------------------------------------------------------------- * Power6V5Supply_destruct * Destructor for a 6V5 power supply * * @return ErrorStatus * * @todo * ----------------------------------------------------------------------------- */ extern void Power6V5Supply_destruct(void); /** ---------------------------------------------------------------------------- * Power6V5Supply_unlock * Disables the 6V5 power supply * * @return ErrorStatus * * @todo * ----------------------------------------------------------------------------- */ extern ErrorStatus Power6V5Supply_off(void); /** ---------------------------------------------------------------------------- * Power6V5Supply_on * Enables the 6V5 power supply * * @return ErrorStatus * * @todo * ----------------------------------------------------------------------------- */ extern ErrorStatus Power6V5Supply_on(void); #endif /* INC_POWER6V5SUPPLY_H_ */