mbed-os/targets/TARGET_Silicon_Labs/TARGET_EFM32
Hari Limaye f4e5359710 GPIO: Use uintptr_t for gpio_irq_api context
The HAL gpio_irq_api stores object IDs, which serve as a form of context
for the dispatch of the interrupt handler in the drivers level
InterruptIn Class. The way this is achieved is that the InterruptIn
Class casts its address to uint32_t, which is stored as the ID.
This results in compilation failure when the size of an object pointer
is greater than uint32_t, for example when building on a PC for unit
testing.

In order to allow Unit Testing of the InterruptIn Class, we replace the
use of uint32_t with uintptr_t (type capable of holding a pointer),
which allows portability and expresses intentions more clearly.
In aid of this latter goal, we also replace the use of the name "id"
with "context", to improve clarity - these are addresses of the context
related to that callback.
2022-01-26 18:12:52 +00:00
..
TARGET_EFM32GG Update UART pin names & add MBED_CONF_TARGET_STDIO_UART overrides 2021-03-23 11:17:17 +00:00
TARGET_EFM32GG11 Update UART pin names & add MBED_CONF_TARGET_STDIO_UART overrides 2021-03-23 11:17:17 +00:00
TARGET_EFR32MG12 Update UART pin names & add MBED_CONF_TARGET_STDIO_UART overrides 2021-03-23 11:17:17 +00:00
TESTS restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
common Add license notice to Arm copyrighted source files 2020-10-15 10:46:35 +01:00
emlib EFM32: fix minor emlib changelog typos 2020-03-02 14:00:40 +01:00
trng Don't use define checks on DEVICE_FOO macros (partner code) 2018-12-20 20:02:29 +11:00
CMakeLists.txt CMake: Refactor Silicon Laboratories targets 2021-02-12 15:39:18 +00:00
PeripheralNames.h Add can_api.c for efm32: wrap in presence of the base peripheral 2019-05-01 00:12:37 +00:00
PeripheralPins.h Initial commit of Silicon Labs QSPI HAL implementation 2018-08-27 10:03:08 +02:00
analogin_api.c Add HAL API for analog in pinmap 2019-02-08 09:09:51 -06:00
analogout_api.c Add HAL API for analog out pinmap 2019-02-08 09:10:05 -06:00
burtc.c Re-implement RTC for Silicon Labs targets 2018-05-25 12:20:10 -05:00
can_api.c CAN: Use uintptr_t for can_irq_ids 2021-09-17 13:36:43 +01:00
crc_api.c Update HAL CRC API 2019-11-13 14:31:49 +02:00
dma_api.c restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
dma_api_HAL.h Upgrade to emlib 5.3.3 2017-11-24 15:52:20 +01:00
flash_api.c Support erase value in Flash HAL drivers, FlashIAP and block devices 2018-11-07 14:23:07 +02:00
gpio_api.c Allow NC pins to be instantiated 2019-05-20 15:23:34 +02:00
gpio_irq_api.c GPIO: Use uintptr_t for gpio_irq_api context 2022-01-26 18:12:52 +00:00
i2c_api.c Allow re-initializing an I2C peripheral 2019-07-09 23:37:11 +01:00
itm_api.c Add SPDX license identifier to Arm files 2020-10-15 10:47:27 +01:00
lp_ticker.c Add EFM32GG11_STK3701 support 2018-07-11 10:45:38 +02:00
pinmap.c [EFM32] Small fixes 2016-10-24 18:24:59 +02:00
pinmap_function.c [EFM32] Small fixes 2016-10-24 18:24:59 +02:00
pinmap_function.h restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
port_api.c restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
pwmout_api.c fixed order of operations 2020-09-08 17:08:06 +02:00
qspi_api.c Allow for arbitrary QSPI alt sizes 2019-09-30 14:45:08 -07:00
resetreason_api.c Add implementation of reset reason on Silicon Labs parts 2019-05-24 11:35:38 +02:00
rtcc.c Workaround to fix RTC-reset issue on the EFM32GG11_STK3701 2020-11-30 18:53:01 +02:00
serial_api.c Update UART pin names & add MBED_CONF_TARGET_STDIO_UART overrides 2021-03-23 11:17:17 +00:00
serial_api_HAL.h restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
sleep.c Remove custom Silicon Labs sleep management 2017-12-01 12:13:06 +01:00
spi_api.c Avoid the FPGA tester using hardware CS which is not supported 2019-07-09 22:48:37 +01:00
us_ticker.c Re-implement us_ticker and lp_ticker for Silicon Labs targets 2018-05-25 12:20:10 -05:00
watchdog_api.c Remove EFM32PG12 targets 2020-04-30 09:56:37 +01:00