FastLED 3.10.8
Loading...
Searching...
No Matches
fastpin.h
Go to the documentation of this file.
1
13
14#pragma once
15
16#include "fl/stl/compiler_control.h" // IWYU pragma: keep
17#include "fl/stl/int.h" // IWYU pragma: keep
18#include "led_sysdefs.h" // IWYU pragma: keep
19
38constexpr fl::u8 NO_PIN = 255;
39
40// Include base class definitions (Selectable, FastPin<>, FastPinBB, __FL_PORT_INFO, etc.)
41#include "fl/system/fastpin_base.h" // IWYU pragma: keep
42
43// Platform-specific implementations:
44// This include handles platform detection and provides:
45// - Pin class (runtime pin access) - varies by platform
46// - FastPin<> specializations - platform-specific optimization
47// - For stub/WASM: no-op implementations
48// - For other platforms: optimized register access or Arduino PINMAP fallback
49#include "platforms/fastpin.h" // IWYU pragma: keep
constexpr fl::u8 NO_PIN
Constant for "not a pin".
Definition fastpin.h:38
Determines which platform system definitions to include.
unsigned char u8
Definition stdint.h:131