MCPcopy Create free account
hub / github.com/FastLED/FastLED / setInput

Method setInput

src/platforms/arm/sam/fastpin_arm_sam.h:33–33  ·  view source on GitHub ↗

TODO: perform MUX config { _PDDR::r() |= _MASK; }

Source from the content-addressed store, hash-verified

31
32 inline static void setOutput() { pinMode(PIN, PinMode::Output); } // TODO: perform MUX config { _PDDR::r() |= _MASK; }
33 inline static void setInput() { pinMode(PIN, PinMode::Input); } // TODO: preform MUX config { _PDDR::r() &= ~_MASK; }
34
35 inline static void hi() __attribute__ ((always_inline)) { _PSOR::r() = _MASK; }
36 inline static void lo() __attribute__ ((always_inline)) { _PCOR::r() = _MASK; }

Callers

nothing calls this directly

Calls 1

pinModeFunction · 0.70

Tested by

no test coverage detected