mbed-os/targets/TARGET_Analog_Devices/TARGET_ADUCM4X50/TARGET_ADUCM4050/api
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
..
PeripheralPins.c Added support for ADI EV-COG-AD4050LZ platform. 2017-09-20 14:37:22 +10:00
PeripheralPins.h Added support for ADI EV-COG-AD4050LZ platform. 2017-09-20 14:37:22 +10:00
analogin_api.c Add HAL API for analog in pinmap 2019-02-08 09:09:51 -06:00
cmsis.h - Cleaned up some formatting issues; - Fixed a build error in spi_master_block_write; - Some clean up in serai_api. 2017-10-11 15:06:49 +11:00
cmsis_nvic.h EV_COG_AD4050LZ: Rework linker scripts to support bootloader 2018-04-20 15:45:26 +10:00
device.h Added support for ADI EV-COG-AD4050LZ platform. 2017-09-20 14:37:22 +10:00
flash_api.c Don't use define checks on DEVICE_FOO macros (partner code) 2018-12-20 20:02:29 +11:00
gpio_api.c Realign ADuCM4x50 and ADuCM302x instance memory blocks 2017-12-07 14:57:08 +11:00
gpio_dev_mem.c Realign ADuCM4x50 and ADuCM302x instance memory blocks 2017-12-07 14:57:08 +11: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 Added support for ADI EV-COG-AD4050LZ platform. 2017-09-20 14:37:22 +10:00
i2c_api.c Add HAL API for i2c pinmap 2019-02-08 09:10:12 -06:00
objects.h Realign ADuCM4x50 and ADuCM302x instance memory blocks 2017-12-07 14:57:08 +11:00
pinmap.c Added support for ADI EV-COG-AD4050LZ platform. 2017-09-20 14:37:22 +10:00
rtc_api.c Realign ADuCM4x50 and ADuCM302x instance memory blocks 2017-12-07 14:57:08 +11:00
serial_api.c Add HAL API for serial pinmap 2019-02-08 09:10:28 -06:00
sleep.c Don't use define checks on DEVICE_FOO macros (partner code) 2018-12-20 20:02:29 +11:00
sleep.h Added support for ADI EV-COG-AD4050LZ platform. 2017-09-20 14:37:22 +10:00
spi_api.c Add HAL API for spi pinmap 2019-02-08 09:10:37 -06:00
trng_api.c Don't use define checks on DEVICE_FOO macros (partner code) 2018-12-20 20:02:29 +11:00
us_ticker.c Resolve adi_tmr_ConfigTimer api conflict in us_ticker.c for both EV_COG_AD4050LZ and EV_COG_AD3029LZ 2018-08-06 16:41:55 +10:00