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

Method reset

X86TestSupport/TestSupport/SoftwareGPIO.h:21–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 void handleISR(bool nv) { callback(argument, nv); }
20
21 void reset() {
22 callback = nullptr;
23 argument = nullptr;
24 mode = 0;
25 driverValue = false;
26 padValue = false;
27 pinMode = 0;
28 }
29
30 void handlePadChangeWithHystesis(bool newval) {
31 auto oldval = padValue;

Callers 1

resetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected