mbed library sources. Supersedes mbed-src.

Dependents:   Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more

Revision:
150:02e0a0aed4ec
Parent:
149:156823d33999
Child:
161:2cc1468da177
--- a/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_lesense.c	Fri Oct 28 11:17:30 2016 +0100
+++ b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_lesense.c	Tue Nov 08 17:45:16 2016 +0000
@@ -1,10 +1,10 @@
 /***************************************************************************//**
  * @file em_lesense.c
  * @brief Low Energy Sensor (LESENSE) 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,
@@ -31,7 +31,9 @@
  ******************************************************************************/
 
 #include "em_lesense.h"
-#if defined(LESENSE_COUNT) && (LESENSE_COUNT > 0)
+/* LESENSE is currently only supported on Platform 1. Full support for Platform 2 LESENSE
+   will be included in the next release. */
+#if defined(LESENSE_COUNT) && (LESENSE_COUNT > 0) && defined(_SILICON_LABS_32B_PLATFORM_1)
 #include "em_assert.h"
 #include "em_bus.h"
 #include "em_cmu.h"
@@ -43,13 +45,18 @@
 /** @endcond */
 
 /***************************************************************************//**
- * @addtogroup EM_Library
+ * @addtogroup emlib
  * @{
  ******************************************************************************/
 
 /***************************************************************************//**
  * @addtogroup LESENSE
  * @brief Low Energy Sensor (LESENSE) Peripheral API
+ * @details
+ *  This module contains functions to control the LESENSE peripheral of Silicon
+ *  Labs 32-bit MCUs and SoCs. LESENSE is a low energy sensor interface capable
+ *  of autonomously collecting and processing data from multiple sensors even
+ *  when in EM2.
  * @{
  ******************************************************************************/
 
@@ -1115,6 +1122,6 @@
 
 
 /** @} (end addtogroup LESENSE) */
-/** @} (end addtogroup EM_Library) */
+/** @} (end addtogroup emlib) */
 
 #endif /* defined(LESENSE_COUNT) && (LESENSE_COUNT > 0) */