ESPHome 2025.5.0
Loading...
Searching...
No Matches
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 134 of file spi.h.

Member Function Documentation

◆ get_mode()

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

Definition at line 144 of file spi.h.

◆ get_phase()

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

Definition at line 151 of file spi.h.

◆ get_pin_no()

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

Definition at line 136 of file spi.h.

◆ get_polarity()

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

Definition at line 161 of file spi.h.


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