LSH-Core
Deterministic firmware core for Controllino-based Labo Smart Home nodes
Loading...
Searching...
No Matches
pin_tag.hpp
Go to the documentation of this file.
1
21
#ifndef LSH_CORE_INTERNAL_PIN_TAG_HPP
22
#define LSH_CORE_INTERNAL_PIN_TAG_HPP
23
24
#include <stdint.h>
25
26
namespace
lsh
27
{
28
namespace
core
29
{
40
template
<u
int
8_t PinNumber>
struct
PinTag
41
{
42
static
constexpr
uint8_t
value
= PinNumber;
43
};
44
}
// namespace core
45
}
// namespace lsh
46
47
#endif
// LSH_CORE_INTERNAL_PIN_TAG_HPP
lsh::core::PinTag
Type-level wrapper around one Arduino pin number.
Definition
pin_tag.hpp:41
lsh::core::PinTag::value
static constexpr uint8_t value
Pin number encoded by the tag and propagated through overload resolution.
Definition
pin_tag.hpp:42
src
internal
pin_tag.hpp
Generated by
1.9.8