MCPcopy Create free account
hub / github.com/FastLED/FastLED / Spi

Method Spi

src/fl/channels/spi/spi.cpp.hpp:18–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16// ============================================================================
17
18Spi::Spi(int clock_pin, fl::span<const int> data_pins,
19 spi_output_mode_t output_mode,
20 u32 clock_speed_hz)
21 : Spi(SpiConfig(clock_pin, data_pins, clock_speed_hz, output_mode, 0)) {
22}
23
24Spi::Spi(const SpiConfig& config)
25 : is_ok(false), error_code(SPIError::NOT_INITIALIZED) {

Callers

nothing calls this directly

Calls 5

SpiConfigClass · 0.85
sizeMethod · 0.45
resizeMethod · 0.45
beginMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected