MCPcopy Create free account
hub / github.com/WiringPi/WiringPi / wiringPiFindNode

Function wiringPiFindNode

wiringPi/wiringPi.c:1648–1659  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1646 */
1647
1648struct wiringPiNodeStruct *wiringPiFindNode (int pin)
1649{
1650 struct wiringPiNodeStruct *node = wiringPiNodes ;
1651
1652 while (node != NULL)
1653 if ((pin >= node->pinBase) && (pin <= node->pinMax))
1654 return node ;
1655 else
1656 node = node->next ;
1657
1658 return NULL ;
1659}
1660
1661
1662/*

Callers 8

wiringPiNewNodeFunction · 0.85
pinModeFunction · 0.85
pullUpDnControlFunction · 0.85
digitalReadFunction · 0.85
digitalWriteFunction · 0.85
pwmWriteFunction · 0.85
analogReadFunction · 0.85
analogWriteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected