EFR32 Mighty Gecko 1 Software Documentation
efr32mg1-doc-5.1.2
|
Ultra Low Energy Timer/Counter (CRYOTIMER) peripheral API.
Copyright 2016 Silicon Laboratories, Inc. http://www.silabs.com
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Labs has no obligation to support this Software. Silicon Labs is providing the Software "AS IS", with no express or implied warranties of any kind, including, but not limited to, any implied warranties of merchantability or fitness for any particular purpose or warranties against infringement of any proprietary rights of a third party.
Silicon Labs will not be liable for any consequential, incidental, or special damages, or any other relief, or for any claim by any third party, arising from your use of this Software.
Definition in file em_cryotimer.h.
Go to the source code of this file.
Data Structures | |
struct | CRYOTIMER_Init_TypeDef |
Macros | |
#define | CRYOTIMER_INIT_DEFAULT |
Functions | |
__STATIC_INLINE uint32_t | CRYOTIMER_CounterGet (void) |
Get the CRYOTIMER counter value. More... | |
__STATIC_INLINE void | CRYOTIMER_EM4WakeupEnable (bool enable) |
Enable/disable EM4 wakeup capability. More... | |
__STATIC_INLINE void | CRYOTIMER_Enable (bool enable) |
Enable/disable the CRYOTIMER. More... | |
void | CRYOTIMER_Init (const CRYOTIMER_Init_TypeDef *init) |
Initialize the CRYOTIMER. More... | |
__STATIC_INLINE void | CRYOTIMER_IntClear (uint32_t flags) |
Clear the CRYOTIMER period interrupt. More... | |
__STATIC_INLINE void | CRYOTIMER_IntDisable (uint32_t flags) |
Disable one or more CRYOTIMER interrupts. More... | |
__STATIC_INLINE void | CRYOTIMER_IntEnable (uint32_t flags) |
Enable one or more CRYOTIMER interrupts. More... | |
__STATIC_INLINE uint32_t | CRYOTIMER_IntGet (void) |
Get the CRYOTIMER interrupt flag. More... | |
__STATIC_INLINE uint32_t | CRYOTIMER_IntGetEnabled (void) |
Get enabled and pending CRYOTIMER interrupt flags. Useful for handling more interrupt sources in the same interrupt handler. More... | |
__STATIC_INLINE void | CRYOTIMER_IntSet (uint32_t flags) |
Set the CRYOTIMER period interrupt flag. More... | |
__STATIC_INLINE uint32_t | CRYOTIMER_PeriodGet (void) |
Get the CRYOTIMER period select value. More... | |
__STATIC_INLINE void | CRYOTIMER_PeriodSet (uint32_t period) |
Set the CRYOTIMER period select. More... | |