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

Method strobe

src/platforms/apollo3/fastpin_apollo3.h:39–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37
38 inline static void set(FASTLED_REGISTER port_t val) __attribute__ ((always_inline)) { if(val) { am_hal_gpio_fastgpio_set(PAD); } else { am_hal_gpio_fastgpio_clr(PAD); } }
39 inline static void strobe() __attribute__ ((always_inline)) { toggle(); toggle(); }
40 inline static void toggle() __attribute__ ((always_inline)) { if( am_hal_gpio_fastgpio_read(PAD)) { lo(); } else { hi(); } }
41
42 inline static void hi(FASTLED_REGISTER port_ptr_t port) __attribute__ ((always_inline)) { hi(); }

Callers

nothing calls this directly

Calls 1

toggleFunction · 0.50

Tested by

no test coverage detected