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

Class SPIBusHandle

src/platforms/shared/spi_manager.h:41–48  ·  view source on GitHub ↗

Handle returned when registering with the SPI bus manager

Source from the content-addressed store, hash-verified

39
40/// Handle returned when registering with the SPI bus manager
41struct SPIBusHandle {
42 u8 bus_id; ///< Internal bus ID
43 u8 lane_id; ///< Lane ID within bus (0 for single SPI, 0-3 for quad, 0-7 for octo)
44 bool is_valid; ///< Whether this handle is valid
45
46 SPIBusHandle() FL_NOEXCEPT : bus_id(0xFF), lane_id(0xFF), is_valid(false) {}
47 SPIBusHandle(u8 bid, u8 lid) FL_NOEXCEPT : bus_id(bid), lane_id(lid), is_valid(true) {}
48};
49
50/// Information about a registered device on an SPI bus
51struct SPIDeviceInfo {

Callers 7

endMethod · 0.85
~SPIDeviceProxyMethod · 0.85
~SPIDeviceProxyMethod · 0.85
~SPIDeviceProxyMethod · 0.85
~SPIDeviceProxyMethod · 0.85
~SPIDeviceProxyMethod · 0.85
registerDeviceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected