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

Method setOutput

src/platforms/arm/stm32/armpin.h:33–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

pinModeFunction · 0.70

Tested by

no test coverage detected