mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 09:28:40 +02:00
API: C: Add TC10
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
#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_
|
||||
Reference in New Issue
Block a user