Solaris Software
Loading...
Searching...
No Matches
SPP_HALGpio_t Struct Reference

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.

Detailed Description

GPIO struct that contains all the pointers to the GPIO functions.

Definition at line 122 of file hal.h.

Field Documentation

◆ gpioConfigInterrupt

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.

Parameters
[in]pinGPIO pin number.
[in]intrTypePlatform-specific interrupt trigger type.
[in]pullPull resistor: 0 = none, 1 = pull-up, 2 = pull-down.
Returns
K_SPP_OK on success.

Definition at line 133 of file hal.h.

Referenced by SPP_HAL_GPIO_configInterrupt().

◆ gpioRegisterIsr

SPP_RetVal_t(*) SPP_HALGpio_t::gpioRegisterIsr(spp_uint32_t pin, void *p_isrCtx)

Register an ISR handler for a GPIO pin.

Parameters
[in]pinGPIO pin number.
[in]p_isrCtxPointer to SPP_GpioIsrCtx_t for this pin.
Returns
K_SPP_OK on success.

Definition at line 143 of file hal.h.

Referenced by SPP_HAL_GPIO_registerIsr().


The documentation for this struct was generated from the following file:
  • solaris-v2/spp/hal/hal.h