Revision c218345a core/inc/aos_sssp.h
core/inc/aos_sssp.h | ||
---|---|---|
101 | 101 |
AOS_SSSP_STAGE_STARTUP_3_2 = 0x1320, /**< Identifier of SSSP startup phase stage 3-2. */ |
102 | 102 |
AOS_SSSP_STAGE_STARTUP_3_3 = 0x1330, /**< Identifier of SSSP startup phase stage 3-3. */ |
103 | 103 |
AOS_SSSP_STAGE_STARTUP_3_4 = 0x1340, /**< Identifier of SSSP startup phase stage 3-4. */ |
104 |
AOS_SSSP_STAGE_OPERATION = 0x2000, /**< Identifier of SSSP operation pahse. */
|
|
104 |
AOS_SSSP_STAGE_OPERATION = 0x2000, /**< Identifier of SSSP operation phase. */
|
|
105 | 105 |
AOS_SSSP_STAGE_SHUTDOWN = 0x3000, /**< Identifier of SSSP shutdown phase. */ |
106 | 106 |
AOS_SSSP_STAGE_SHUTDOWN_1 = 0x3100, /**< Identifier of SSSP shutdown phase stage 1. */ |
107 | 107 |
AOS_SSSP_STAGE_SHUTDOWN_1_1 = 0x3110, /**< Identifier of SSSP shutdown phase stage 1-1. */ |
... | ... | |
159 | 159 |
#if defined(__cplusplus) |
160 | 160 |
extern "C" { |
161 | 161 |
#endif /* defined(__cplusplus) */ |
162 |
void aosSsspInit(void);
|
|
162 |
void aosSsspInit(aos_timestamp_t* system_uptime);
|
|
163 | 163 |
aos_status_t aosSsspProceed(event_listener_t* listener, eventflags_t flags, eventmask_t mask, eventmask_t* received); |
164 |
void aosSsspShutdownInit(void);
|
|
164 |
void aosSsspShutdownInit(bool active);
|
|
165 | 165 |
#if (AMIROOS_CFG_SSSP_SHUTDOWN == true) || defined(__DOXYGEN__) |
166 | 166 |
void aosSsspShutdownBroadcastIdentifier(unsigned int identifier); |
167 | 167 |
eventmask_t aosSsspShutdownWaitForIdentifierPulse(event_listener_t* gpiolistener, eventflags_t sflags, eventmask_t timermask, unsigned int* identifier); |
168 | 168 |
#endif /* (AMIROOS_CFG_SSSP_SHUTDOWN == true) */ |
169 |
#if ((AMIROOS_CFG_SSSP_MASTER != true) && (AMIROOS_CFG_PROFILE == true)) || defined(__DOXYGEN__) |
|
170 |
float aosSsspGetSyncSkew(void); |
|
171 |
#endif /* (AMIROOS_CFG_SSSP_MASTER != true) && (AMIROOS_CFG_PROFILE == true) */ |
|
169 | 172 |
#if defined(__cplusplus) |
170 | 173 |
} |
171 | 174 |
#endif /* defined(__cplusplus) */ |
Also available in: Unified diff