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

Function piBoard

wiringPi/wiringPi.c:622–628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620
621
622int piBoard() {
623 if (RaspberryPiModel<0) { //need to detect pi model
624 int model, rev, mem, maker, overVolted;
625 piBoardId (&model, &rev, &mem, &maker, &overVolted);
626 }
627 return RaspberryPiModel<0 ? 0 : 1;
628}
629
630
631int piBoard40Pin() {

Callers 5

piBoard40PinFunction · 0.85
piGpioLayoutFunction · 0.85
wiringPiGpioDeviceGetFdFunction · 0.85
wiringPiUserLevelAccessFunction · 0.85

Calls 1

piBoardIdFunction · 0.85

Tested by

no test coverage detected