Esp32/spisoft_arch.h File Reference
#include <hal/gpio_ll.h>
#include <soc/spi_pins.h>
#include <fast_io.h>
Include dependency graph for Esp32/spisoft_arch.h:

Go to the source code of this file.

Namespaces

 spisoft
 

Macros

#define GP_IN(pin)   GP_FAST_READ(pin, GPIO_IN_REG)
 
#define GP_OUT(pin, val)   GP_FAST_WRITE(pin, val, GPIO_OUT_W1TC_REG, GPIO_OUT_W1TS_REG)
 

Variables

constexpr SpiPins spisoft::defaultPins
 

Macro Definition Documentation

◆ GP_IN

#define GP_IN (   pin)    GP_FAST_READ(pin, GPIO_IN_REG)

◆ GP_OUT

#define GP_OUT (   pin,
  val 
)    GP_FAST_WRITE(pin, val, GPIO_OUT_W1TC_REG, GPIO_OUT_W1TS_REG)