mbed-os/targets/TARGET_NUVOTON/TARGET_M451
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
..
device Nuvoton: Enable no HXT/LXT configurabiliy 2021-06-02 09:02:05 +08:00
CMakeLists.txt Create FLASH CMSIS ALGO target to remove dependency on MBED_TARGET_LABELS 2021-02-19 16:56:37 +00:00
PeripheralNames.h [Nuvoton] Support DAC 2018-11-21 17:09:35 +08:00
PeripheralPins.c [M453] Classify by M45xD/M45xC and M45xG/M45xE 2019-08-20 13:12:43 +08:00
PeripheralPins.h [Nuvoton] Support DAC 2018-11-21 17:09:35 +08:00
PinNames.h Update UART pin names & add MBED_CONF_TARGET_STDIO_UART overrides 2021-03-23 11:17:17 +00:00
PortNames.h [Nuvoton] Organize file structure 2018-08-01 18:00:16 +08:00
analogin_api.c Nuvoton: Add analogin_free 2019-10-31 15:19:15 +08:00
analogout_api.c [Nuvoton] Free up peripheral pins in peripheral free-up HAL API 2019-08-20 13:12:43 +08:00
can_api.c CAN: Use uintptr_t for can_irq_ids 2021-09-17 13:36:43 +01:00
device.h [Nuvoton] Organize file structure 2018-08-01 18:00:16 +08:00
dma.h [NUC472/M453] Add dma_modbase() to get PDMA base address 2017-03-10 16:18:14 +08:00
dma_api.c [Nuvoton] Fix IP initialization sequence 2019-08-20 13:12:41 +08:00
flash_api.c M453: Make memory specification configurable 2020-04-27 11:24:12 +08:00
gpio_api.c Nuvoton: Add gpio_get_capabilities() 2020-02-19 18:58:47 +01:00
gpio_irq_api.c GPIO: Use uintptr_t for gpio_irq_api context 2022-01-26 18:12:52 +00:00
gpio_object.h [Nuvoton] Fix pin mode mapping between input pull mode/direction and I/O mode 2018-08-31 10:06:30 +08:00
i2c_api.c Commit M451/NANO100 i2c_api again to resolve abnormal gitattribute 2020-09-30 10:27:16 +08:00
lp_ticker.c Nuvoton: Enable no HXT/LXT configurabiliy 2021-06-02 09:02:05 +08:00
mbed_overrides.c Nuvoton: Explicitly disable HXT/LXT on configured to not present 2021-06-02 09:02:05 +08:00
objects.h Nuvoton: Fix GPIO rising/falling edge interrupts cannot exist simultaneously 2020-02-13 11:24:01 +08:00
pinmap.c Remove pinmap_restricted_peripherals() function from Nuvoton (STDIO uart is restricted by default) 2020-02-07 10:45:02 +01:00
port_api.c Support NUMAKER_PFM_M453 2016-10-11 10:55:08 +08:00
pwmout_api.c Support M251/M261/M453/NANO130/NUC472 PWM duty cycle range as 0 ~ 10000 2021-03-04 19:58:03 +08:00
reset_reason.c [Nuvoton] Support reset reason 2019-05-24 11:35:44 +02:00
rtc_api.c Nuvoton: Enable no HXT/LXT configurabiliy 2021-06-02 09:02:05 +08:00
serial_api.c [Nuvoton] Free up peripheral pins in peripheral free-up HAL API 2019-08-20 13:12:43 +08:00
sleep.c [Nuvoton] Fix serial corruption due to deep sleep 2018-09-10 10:55:44 +08:00
spi_api.c Nuvoton: Make SPI inter-frame (delay match configured suspend interval 2020-02-17 15:00:09 +08:00
us_ticker.c Nuvoton: Enable no HXT/LXT configurabiliy 2021-06-02 09:02:05 +08:00
watchdog_api.c Nuvoton: Enable no HXT/LXT configurabiliy 2021-06-02 09:02:05 +08:00