1
0
forked from fsfw/fsfw

slight formatting

This commit is contained in:
2020-09-30 23:42:18 +02:00
parent d44428f49c
commit aed2d7fc93
3 changed files with 18 additions and 26 deletions

View File

@ -8,6 +8,12 @@
#include "../modes/HasModesIF.h"
#include "../ipc/MessageQueueSenderIF.h"
/**
* This is used to uniquely identify commands that are sent to a device
* The values are defined in the device-specific implementations
*/
using DeviceCommandId_t = uint32_t;
/**
* @brief This is the Interface used to communicate with a device handler.
* @details Includes all expected return values, events and modes.
@ -15,11 +21,7 @@
*/
class DeviceHandlerIF {
public:
/**
* This is used to uniquely identify commands that are sent to a device
* The values are defined in the device-specific implementations
*/
typedef uint32_t DeviceCommandId_t;
static const uint8_t TRANSITION_MODE_CHILD_ACTION_MASK = 0x20;
static const uint8_t TRANSITION_MODE_BASE_ACTION_MASK = 0x10;