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

Method setOutput

src/platforms/arm/d51/fastpin_arm_d51.h:32–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31 #if 0
32 inline static void setOutput() FL_NOEXCEPT {
33 if(_BIT<8) {
34 _CRL::r() = (_CRL::r() & (0xF << (_BIT*4)) | (0x1 << (_BIT*4));
35 } else {
36 _CRH::r() = (_CRH::r() & (0xF << ((_BIT-8)*4))) | (0x1 << ((_BIT-8)*4));
37 }
38 }
39 inline static void setInput() { /* TODO */ } // TODO: preform MUX config { _PDDR::r() &= ~_MASK; }
40 #endif
41

Callers

nothing calls this directly

Calls 1

pinModeFunction · 0.50

Tested by

no test coverage detected