48 lines
863 B
C++
48 lines
863 B
C++
#ifndef __ICSNEO_TC10_H_
|
|
#define __ICSNEO_TC10_H_
|
|
|
|
#ifdef __cplusplus
|
|
|
|
#include <cstdint>
|
|
|
|
namespace icsneo {
|
|
|
|
enum class TC10WakeStatus : uint8_t {
|
|
NoWakeReceived,
|
|
WakeReceived,
|
|
};
|
|
|
|
enum class TC10SleepStatus : uint8_t {
|
|
NoSleepReceived,
|
|
SleepReceived,
|
|
SleepFailed,
|
|
SleepAborted,
|
|
};
|
|
|
|
}
|
|
|
|
#endif // __cplusplus
|
|
|
|
#ifdef __ICSNEOC_H_
|
|
|
|
typedef enum _neotc10wakestatus_t {
|
|
ICSNEO_TC10_NO_WAKE_RECEIVED = 0,
|
|
ICSNEO_TC10_WAKE_RECEIVED = 1,
|
|
} neotc10wakestatus_t;
|
|
|
|
typedef enum _neotc10sleepstatus_t {
|
|
ICSNEO_TC10_NO_SLEEP_RECEIVED = 0,
|
|
ICSNEO_TC10_SLEEP_RECEIVED = 1,
|
|
ICSNEO_TC10_SLEEP_FAILED = 1,
|
|
ICSNEO_TC10_SLEEP_ABORTED = 1,
|
|
} neotc10sleepstatus_t;
|
|
|
|
typedef struct _neotc10status_t {
|
|
neotc10wakestatus_t wakeStatus;
|
|
neotc10sleepstatus_t sleepStatus;
|
|
} neotc10status_t;
|
|
|
|
#endif
|
|
|
|
#endif // __ICSNEO_TC10_H_
|