Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
58
inline port_ptr_t getPortPtr(int pin) {
59
if (pin < 0 || pin >= TABLE_SIZE) return nullptr;
60
return portTable()[pin];
61
}
62
63
inline bool allPortsNull() {
64
const port_ptr_t* table = portTable();
Callers
1
pinToPort
Function · 0.85
Calls
1
portTable
Function · 0.85
Tested by
no test coverage detected