MCPcopy Create free account
hub / github.com/bdring/FluidNC / __digitalRead

Function __digitalRead

X86TestSupport/TestSupport/Arduino.cpp:32–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32extern "C" int __digitalRead(uint8_t pin) {
33 auto& io = SoftwareGPIO::instance();
34 return io.read(pin);
35}
36
37extern "C" void __pinMode(uint8_t pin, uint8_t mode) {
38 auto& io = SoftwareGPIO::instance();

Callers 2

TestFunction · 0.85
readMethod · 0.85

Calls 1

readMethod · 0.45

Tested by 2

TestFunction · 0.68
readMethod · 0.68