Steven Cooreman
813216306c
Remove custom Silicon Labs sleep management
...
Standardize on the mbed sleep manager by removing the sleepmodes API, and statically redirecting hal_sleep to EM1 and hal_deepsleep to EM2.
2017-12-01 12:13:06 +01:00
Steven Cooreman
e900d5a04d
Squash warnings by defining 'NC' as unsigned type
2017-11-24 16:14:56 +01:00
Seppe Stas
d396306a10
EFM32: Fixed `pwmout_all_inactive` being inversed
...
If one of the CC channel pins is enabled, `pwmout_all_inactive` it
means a channel is active so it should return `true`.
This commit also contains some cleanup in `pwm_init`.
2017-04-10 11:59:44 +02:00
Steven Cooreman
1f3003fb22
[EFM32] Small fixes
...
* Use mbed_error
* Include cmsis headers by default when grabbing device.h
* Get rid of enum to uint casting in pinmap
2016-10-24 18:24:59 +02:00
Christopher Haster
0bad622a16
restructure - Moved targets out to top level
...
hal/targets -> targets
hal/targets.json -> targets/targets.json
2016-09-30 19:18:09 -05:00