WS2812_RMT Driver 0.1.0
API reference
Loading...
Searching...
No Matches
ws2812_rmt::Ws2812RmtPort Concept Reference

Satisfied by a class that derives from GpioInterface<Port> and implements the required hooks with exactly the types above, noexcept and returning bool (handbook KB-CPP20-006). More...

#include <ws2812_rmt_gpio_interface.hpp>

Concept definition

template<typename Port>
concept ws2812_rmt::Ws2812RmtPort = std::derived_from<Port, GpioInterface<Port>> && requires {
detail::ExactHook<Port, bool() noexcept>::Take(&Port::EnsureInitialized);
detail::ExactHook<Port, bool(uint32_t&) noexcept>::Take(&Port::ResolutionHz);
detail::ExactHook<Port, bool(std::span<const uint8_t>, const Waveform&, uint32_t) noexcept>::Take(
&Port::Transmit);
detail::ExactHook<Port, void(uint32_t) noexcept>::Take(&Port::DelayUs);
}
Satisfied by a class that derives from GpioInterface<Port> and implements the required hooks with exa...
Definition ws2812_rmt_gpio_interface.hpp:88

Detailed Description

Satisfied by a class that derives from GpioInterface<Port> and implements the required hooks with exactly the types above, noexcept and returning bool (handbook KB-CPP20-006).

Template Parameters
PortThe port class.