You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
KED/interfaces/pin.hpp

14 lines
202 B

#ifndef __PIN_HPP__
#define __PIN_HPP__
template <typename Derived>
struct Pin
{
void write(bool logic)
{
static_cast<Derived*>(this)->writeImpl(logic);
}
};
#endif // __PIN_HPP__