rw enable wip

This commit is contained in:
Martin Zietz
2021-06-22 13:48:30 +02:00
parent 0eb47967b5
commit cbdcc50cc9
4 changed files with 30 additions and 15 deletions

View File

@ -18,7 +18,18 @@
class RwHandler: public DeviceHandlerBase {
public:
RwHandler(object_id_t objectId, object_id_t comIF, CookieIF * comCookie);
/**
* @brief Constructor
*
* @param objectId
* @param comIF
* @param comCookie
* @param gpioComIF Pointer to gpio communication interface
* @param enablePin GPIO connected to the enable pin of the reaction wheels. Must be pulled
* to high to enable the device.
*/
RwHandler(object_id_t objectId, object_id_t comIF, CookieIF * comCookie,
LinuxLibgpioIF* gpioComIF, gpioId_t enableGpio);
virtual ~RwHandler();
static const uint8_t INTERFACE_ID = CLASS_ID::RW_HANDLER;