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

Method setOutput

src/platforms/arm/kl26/fastpin_arm_kl26.h:30–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 typedef u32 port_t;
29
30 inline static void setOutput() { pinMode(PIN, PinMode::Output); } // TODO: perform MUX config { _PDDR::r() |= _MASK; }
31 inline static void setInput() { pinMode(PIN, PinMode::Input); } // TODO: preform MUX config { _PDDR::r() &= ~_MASK; }
32
33 inline static void hi() __attribute__ ((always_inline)) { _PSOR::r() = _MASK; }

Callers

nothing calls this directly

Calls 1

pinModeFunction · 0.50

Tested by

no test coverage detected