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

Method setOutput

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

Source from the content-addressed store, hash-verified

30 typedef u32 port_t;
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; }

Callers

nothing calls this directly

Calls 1

pinModeFunction · 0.70

Tested by

no test coverage detected