MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / configure

Function configure

Tactility/Source/hal/gpio/Gpio.cpp:72–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72bool configure(Pin pin, Mode mode, bool pullUp, bool pullDown) {
73#ifdef ESP_PLATFORM
74 return configureWithPinBitmask(BIT64(toEspPin(pin)), mode, pullUp, pullDown);
75#else
76 return true;
77#endif
78}
79
80bool setMode(Pin pin, Mode mode) {
81#ifdef ESP_PLATFORM

Callers

nothing calls this directly

Calls 2

configureWithPinBitmaskFunction · 0.85
toEspPinFunction · 0.85

Tested by

no test coverage detected