Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed_blinky-bmd-200 bmd-200_accel_demo firstRig
Fork of mbed-src by
Revision 538:6cdb58309977, committed 2015-05-05
- Comitter:
- mbed_official
- Date:
- Tue May 05 08:00:08 2015 +0100
- Parent:
- 537:589848968e4d
- Child:
- 539:35ad5cbb2f6a
- Commit message:
- Synchronized with git revision 16156f526db4b960762ba02dab48025d9d9a4531
Full URL: https://github.com/mbedmicro/mbed/commit/16156f526db4b960762ba02dab48025d9d9a4531/
Updated Thread.cpp|.h to support signal clear
Changed in this revision
--- a/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/device_peripherals.h Mon May 04 08:30:08 2015 +0100 +++ b/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/device_peripherals.h Tue May 05 08:00:08 2015 +0100 @@ -64,7 +64,7 @@ #define HFRCO_FREQUENCY CMU_HFRCOCTRL_BAND_14MHZ #define LFXO_FREQUENCY 32768 -#define HFXO_FREQUENCY 32000000 +#define HFXO_FREQUENCY 48000000 #if (LOW_ENERGY_CLOCK_SOURCE == LFXO) #define LOW_ENERGY_CLOCK_FREQUENCY LFXO_FREQUENCY
--- a/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/device_peripherals.h Mon May 04 08:30:08 2015 +0100 +++ b/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/device_peripherals.h Tue May 05 08:00:08 2015 +0100 @@ -64,7 +64,7 @@ #define HFRCO_FREQUENCY CMU_HFRCOCTRL_BAND_14MHZ #define LFXO_FREQUENCY 32768 -#define HFXO_FREQUENCY 32000000 +#define HFXO_FREQUENCY 48000000 #if (LOW_ENERGY_CLOCK_SOURCE == LFXO) #define LOW_ENERGY_CLOCK_FREQUENCY LFXO_FREQUENCY
--- a/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/gpio_api.c Mon May 04 08:30:08 2015 +0100
+++ b/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/gpio_api.c Tue May 05 08:00:08 2015 +0100
@@ -59,6 +59,12 @@
{
obj->mode = mode; // Update object
pin_mode(obj->pin, mode); // Update register
+
+ //Handle pullup for input
+ if(mode == InputPullUp) {
+ //Set DOUT
+ GPIO->P[obj->port & 0xF].DOUTSET = 1 << (obj->pin & 0xF);
+ }
}
// Used by DigitalInOut to set correct mode when direction is set
