Solaris Software
Loading...
Searching...
No Matches
gpioPort.c File Reference

ESP32-S3 GPIO port implementation. More...

#include "gpioPort.h"
#include "spp/hal/gpio/gpio.h"
#include "driver/gpio.h"
#include "esp_attr.h"
Include dependency graph for gpioPort.c:

Go to the source code of this file.

Functions

static void IRAM_ATTR SPP_PORTS_HAL_ESP32_gpioIsr (void *p_arg)
SPP_RetVal_t SPP_PORTS_HAL_ESP32_gpioConfigInterrupt (spp_uint32_t pin, spp_uint32_t intrType, spp_uint32_t pull)
SPP_RetVal_t SPP_PORTS_HAL_ESP32_gpioRegisterIsr (spp_uint32_t pin, void *p_isrCtx)
spp_uint16_t SPP_PORTS_HAL_ESP32_gpioRead (spp_uint32_t pin)
SPP_RetVal_t SPP_PORTS_HAL_ESP32_gpioWrite (spp_uint32_t pin, spp_uint8_t level)

Detailed Description

ESP32-S3 GPIO port implementation.

Definition in file gpioPort.c.

Function Documentation

◆ SPP_PORTS_HAL_ESP32_gpioIsr()

void IRAM_ATTR SPP_PORTS_HAL_ESP32_gpioIsr ( void * p_arg)
static

Definition at line 20 of file gpioPort.c.

References SPP_GpioIsrCtx_t::p_flag, and SPP_PORTS_HAL_ESP32_gpioIsr().

Referenced by SPP_PORTS_HAL_ESP32_gpioIsr(), and SPP_PORTS_HAL_ESP32_gpioRegisterIsr().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SPP_PORTS_HAL_ESP32_gpioConfigInterrupt()

SPP_RetVal_t SPP_PORTS_HAL_ESP32_gpioConfigInterrupt ( spp_uint32_t pin,
spp_uint32_t intrType,
spp_uint32_t pull )

Definition at line 30 of file gpioPort.c.

References K_SPP_ERROR, K_SPP_OK, and SPP_PORTS_HAL_ESP32_gpioConfigInterrupt().

Referenced by SPP_PORTS_HAL_ESP32_gpioConfigInterrupt().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SPP_PORTS_HAL_ESP32_gpioRegisterIsr()

SPP_RetVal_t SPP_PORTS_HAL_ESP32_gpioRegisterIsr ( spp_uint32_t pin,
void * p_isrCtx )

Definition at line 61 of file gpioPort.c.

References K_SPP_ERROR, K_SPP_OK, SPP_PORTS_HAL_ESP32_gpioIsr(), and SPP_PORTS_HAL_ESP32_gpioRegisterIsr().

Referenced by SPP_PORTS_HAL_ESP32_gpioRegisterIsr().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SPP_PORTS_HAL_ESP32_gpioRead()

spp_uint16_t SPP_PORTS_HAL_ESP32_gpioRead ( spp_uint32_t pin)

Definition at line 87 of file gpioPort.c.

References SPP_PORTS_HAL_ESP32_gpioRead().

Referenced by SPP_PORTS_HAL_ESP32_gpioRead().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SPP_PORTS_HAL_ESP32_gpioWrite()

SPP_RetVal_t SPP_PORTS_HAL_ESP32_gpioWrite ( spp_uint32_t pin,
spp_uint8_t level )

Definition at line 94 of file gpioPort.c.

References K_SPP_ERROR, K_SPP_OK, and SPP_PORTS_HAL_ESP32_gpioWrite().

Referenced by SPP_PORTS_HAL_ESP32_gpioWrite().

Here is the call graph for this function:
Here is the caller graph for this function: