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

Function getPortPtr

src/fl/system/pins.cpp.hpp:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58inline port_ptr_t getPortPtr(int pin) {
59 if (pin < 0 || pin >= TABLE_SIZE) return nullptr;
60 return portTable()[pin];
61}
62
63inline bool allPortsNull() {
64 const port_ptr_t* table = portTable();

Callers 1

pinToPortFunction · 0.85

Calls 1

portTableFunction · 0.85

Tested by

no test coverage detected