mbed-os/targets/TARGET_TOSHIBA/TARGET_TMPM46B
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
..
Periph_Driver Added new features to TMPM46B 2019-08-16 10:43:52 +05:30
device Remove erroneous object file reference in IRAM1 definition 2021-03-01 16:27:24 +00:00
CMakeLists.txt CMake: Refactor Toshiba targets 2021-02-11 11:51:20 +00:00
PeripheralNames.h Update UART pin names & add MBED_CONF_TARGET_STDIO_UART overrides 2021-03-23 11:17:17 +00:00
PinNames.h Update UART pin names & add MBED_CONF_TARGET_STDIO_UART overrides 2021-03-23 11:17:17 +00:00
PortNames.h Added Support for Toshiba TMPM46B 2018-03-26 15:39:05 +05:30
analogin_api.c Added new features to TMPM46B 2019-08-16 10:43:52 +05:30
device.h Added new features to TMPM46B 2019-08-16 10:43:52 +05:30
flash_api.c Added new features to TMPM46B 2019-08-16 10:43:52 +05:30
gpio_api.c Fixed support for DigitalOut(NC) instantiation 2019-04-04 15:16:29 +05:30
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 Toshiba TMPM46B 2018-03-26 15:39:05 +05:30
i2c_api.c Added new features to TMPM46B 2019-08-16 10:43:52 +05:30
objects.h Added new features to TMPM46B 2019-08-16 10:43:52 +05:30
pinmap.c Added new features to TMPM46B 2019-08-16 10:43:52 +05:30
port_api.c Added new features to TMPM46B 2019-08-16 10:43:52 +05:30
pwmout_api.c Add SPDX license identifier to Arm files 2020-10-15 10:47:27 +01:00
reset_reason_api.c TOSHIBA: Add hal_reset_reason_get_capabilities() 2020-01-03 16:54:19 +01:00
rtc_api.c Added new features to TMPM46B 2019-08-16 10:43:52 +05:30
serial_api.c Added new features to TMPM46B 2019-08-16 10:43:52 +05:30
sleep.c Low power consumption mode for deepsleep 2018-03-26 15:43:21 +05:30
spi_api.c Added new features to TMPM46B 2019-08-16 10:43:52 +05:30
trng_api.c Added new features to TMPM46B 2019-08-16 10:43:52 +05:30
us_ticker.c Added usticker feature 2018-09-25 12:51:08 +05:30