FastLED 3.9.15
Loading...
Searching...
No Matches

◆ select()

template<uint8_t DATA_PIN, uint8_t CLOCK_PIN, uint32_t SPI_SPEED>
void AVRSoftwareSPIOutput< DATA_PIN, CLOCK_PIN, SPI_SPEED >::select ( )
inline

Select the SPI output (chip select)

Todo
Research whether this really means 'hi' or 'lo'.
Todo
Move select responsibility out of the SPI classes entirely, make it up to the caller to remember to lock/select the line?

Definition at line 237 of file fastspi_bitbang.h.

237{ if(m_pSelect != NULL) { m_pSelect->select(); } } // FastPin<SELECT_PIN>::hi(); }
Selectable * m_pSelect
SPI chip select.
Software SPI (aka bit-banging) support Includes aggressive optimizations for when the clock and data ...

References m_pSelect.

Referenced by writeBytes(), writeBytesValue(), and writePixels().

+ Here is the caller graph for this function: