ESPHome  2024.11.0
Static Public Member Functions
esphome::spi::Utility Class Reference

#include <spi.h>

Static Public Member Functions

static int get_pin_no (GPIOPin *pin)
 
static SPIMode get_mode (SPIClockPolarity polarity, SPIClockPhase phase)
 
static SPIClockPhase get_phase (SPIMode mode)
 
static SPIClockPolarity get_polarity (SPIMode mode)
 

Detailed Description

Definition at line 128 of file spi.h.

Member Function Documentation

◆ get_mode()

static SPIMode esphome::spi::Utility::get_mode ( SPIClockPolarity  polarity,
SPIClockPhase  phase 
)
inlinestatic

Definition at line 138 of file spi.h.

◆ get_phase()

static SPIClockPhase esphome::spi::Utility::get_phase ( SPIMode  mode)
inlinestatic

Definition at line 145 of file spi.h.

◆ get_pin_no()

static int esphome::spi::Utility::get_pin_no ( GPIOPin pin)
inlinestatic

Definition at line 130 of file spi.h.

◆ get_polarity()

static SPIClockPolarity esphome::spi::Utility::get_polarity ( SPIMode  mode)
inlinestatic

Definition at line 155 of file spi.h.


The documentation for this class was generated from the following file: