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

Method setInput

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

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

Source from the content-addressed store, hash-verified

64
65 inline static void setOutput() { pinMode(PIN, PinMode::Output); } // TODO: perform MUX config { _PDDR::r() |= _MASK; }
66 inline static void setInput() { pinMode(PIN, PinMode::Input); } // TODO: preform MUX config { _PDDR::r() &= ~_MASK; }
67
68 inline static void hi() __attribute__ ((always_inline)) { *_PDOR::template rx<_BIT>() = 1; }
69 inline static void lo() __attribute__ ((always_inline)) { *_PDOR::template rx<_BIT>() = 0; }

Callers

nothing calls this directly

Calls 1

pinModeFunction · 0.70

Tested by

no test coverage detected