EFM32 Giant Gecko Software Documentation
efm32gg-doc-5.1.2
|
Utility Functions for the Thunderboard Sense.
Copyright 2016 Silicon Laboratories, Inc. http://www.silabs.com
This file is licensed under the Silicon Labs License Agreement. See the file "Silabs_License_Agreement.txt" for details. Before using this software for any purpose, you must agree to the terms of that agreement.
Definition in file util_sleep.c.
Go to the source code of this file.
Functions | |
static void | rtcCb (RTCDRV_TimerID_t id, void *user) |
RTC callback function, called when the timer expired. More... | |
void | SysTick_Handler (void) |
Interrupt Service Routine for system tick counter. More... | |
void | UTIL_sleep (uint32_t ms) |
Delays number of milliseconds in sleep mode (EM2) using the RTC. More... | |
uint32_t | UTIL_sleepInit (void) |
Sets up the RTC timer used for sleep functions. More... | |
uint32_t | UTIL_waitForEvent (uint32_t timeout) |
Delays number of milliseconds in sleep mode (EM2) using the RTC but but returns if an event wakes up the MCU. More... | |
Variables | |
static volatile bool | rtcComplete |
static RTCDRV_TimerID_t | rtcId |