The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
Diff: TARGET_EFM32HG_STK3400/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_lesense.h
- Revision:
- 128:9bcdf88f62b0
- Parent:
- 113:f141b2784e32
- Child:
- 139:856d2700e60b
diff -r 25aea2a3f4e3 -r 9bcdf88f62b0 TARGET_EFM32HG_STK3400/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_lesense.h --- a/TARGET_EFM32HG_STK3400/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_lesense.h Fri Sep 30 16:49:46 2016 +0100 +++ b/TARGET_EFM32HG_STK3400/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_lesense.h Thu Oct 27 16:45:56 2016 +0100 @@ -1,10 +1,10 @@ /***************************************************************************//** * @file em_lesense.h * @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, @@ -30,12 +30,14 @@ * ******************************************************************************/ -#ifndef __SILICON_LABS_EM_LESENSE_H__ -#define __SILICON_LABS_EM_LESENSE_H__ +#ifndef EM_LESENSE_H +#define EM_LESENSE_H #include "em_device.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 <stdint.h> #include <stdbool.h> @@ -45,7 +47,7 @@ /***************************************************************************//** - * @addtogroup EM_Library + * @addtogroup emlib * @{ ******************************************************************************/ @@ -1310,7 +1312,7 @@ /** @} (end addtogroup LESENSE) */ -/** @} (end addtogroup EM_Library) */ +/** @} (end addtogroup emlib) */ #ifdef __cplusplus } @@ -1318,4 +1320,4 @@ #endif /* defined(LESENSE_COUNT) && (LESENSE_COUNT > 0) */ -#endif /* __SILICON_LABS_EM_LESENSE_H__ */ +#endif /* EM_LESENSE_H */