|
Master Thesis
V1.0
Research and Design of Sensor Node for NMSD Treatment
|
Go to the documentation of this file.
49 #define SYSTICKDELAY 1
60 void delay (uint32_t msDelay);
61 void sleep (uint32_t sSleep);
void RTC_clearWakeup(void)
Method to clear RTC_sleep_wakeup.
void sleep(uint32_t sSleep)
Sleep for a certain amount of seconds in EM2/3.
void delay(uint32_t msDelay)
Wait for a certain amount of milliseconds in EM2/3.
bool RTC_checkWakeup(void)
Method to check if the wakeup was caused by the RTC.
uint32_t RTC_getPassedSleeptime(void)
Method to get the time spend sleeping (in seconds) in the case of GPIO wake-up.