GPIO struct that contains all the pointers to the GPIO functions. More...
#include <hal.h>
Data Fields | |
| SPP_RetVal_t(*) | gpioConfigInterrupt (spp_uint32_t pin, spp_uint32_t intrType, spp_uint32_t pull) |
| Configure a GPIO pin as an interrupt input. | |
| SPP_RetVal_t(*) | gpioRegisterIsr (spp_uint32_t pin, void *p_isrCtx) |
| Register an ISR handler for a GPIO pin. | |
GPIO struct that contains all the pointers to the GPIO functions.
| SPP_RetVal_t(*) SPP_HALGpio_t::gpioConfigInterrupt(spp_uint32_t pin, spp_uint32_t intrType, spp_uint32_t pull) |
Configure a GPIO pin as an interrupt input.
| [in] | pin | GPIO pin number. |
| [in] | intrType | Platform-specific interrupt trigger type. |
| [in] | pull | Pull resistor: 0 = none, 1 = pull-up, 2 = pull-down. |
Definition at line 133 of file hal.h.
Referenced by SPP_HAL_GPIO_configInterrupt().
| SPP_RetVal_t(*) SPP_HALGpio_t::gpioRegisterIsr(spp_uint32_t pin, void *p_isrCtx) |
Register an ISR handler for a GPIO pin.
| [in] | pin | GPIO pin number. |
| [in] | p_isrCtx | Pointer to SPP_GpioIsrCtx_t for this pin. |
Definition at line 143 of file hal.h.
Referenced by SPP_HAL_GPIO_registerIsr().