mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_burtc.c
- Revision:
- 150:02e0a0aed4ec
- Parent:
- 149:156823d33999
- Child:
- 161:2cc1468da177
--- a/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_burtc.c Fri Oct 28 11:17:30 2016 +0100 +++ b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_burtc.c Tue Nov 08 17:45:16 2016 +0000 @@ -1,10 +1,10 @@ /***************************************************************************//** * @file em_burtc.c * @brief Backup Real Time Counter (BURTC) Peripheral API - * @version 4.2.1 + * @version 5.0.0 ******************************************************************************* * @section License - * <b>(C) Copyright 2015 Silicon Labs, http://www.silabs.com</b> + * <b>Copyright 2016 Silicon Laboratories, Inc. http://www.silabs.com</b> ******************************************************************************* * * Permission is granted to anyone to use this software for any purpose, @@ -35,13 +35,18 @@ #if defined(BURTC_PRESENT) /***************************************************************************//** - * @addtogroup EM_Library + * @addtogroup emlib * @{ ******************************************************************************/ /***************************************************************************//** * @addtogroup BURTC * @brief Backup Real Time Counter (BURTC) Peripheral API + * @details + * This module contains functions to control the BURTC peripheral of Silicon + * Labs 32-bit MCUs. The Backup Real Time Counter allows timekeeping in all + * energy modes. The Backup RTC is also available when the system is in backup + * mode. * @{ ******************************************************************************/ @@ -88,7 +93,7 @@ activated, or when no clock is selected for the BURTC. If no clock is selected, then the sync is done once the clock source is set. */ if ((BURTC->FREEZE & BURTC_FREEZE_REGFREEZE) - || ((BURTC->CTRL & _BURTC_CTRL_CLKSEL_MASK) != _BURTC_CTRL_CLKSEL_NONE)) + || ((BURTC->CTRL & _BURTC_CTRL_CLKSEL_MASK) == BURTC_CTRL_CLKSEL_NONE)) { return; } @@ -309,6 +314,6 @@ /** @} (end addtogroup BURTC) */ -/** @} (end addtogroup EM_Library) */ +/** @} (end addtogroup emlib) */ #endif /* BURTC_PRESENT */