Closed
Description
I do not (yet) have a github fork from your repository so this as an issue.
I am not experienced in c++ templates but looking thru your code and a lot of reading :
When you add :
template<board::DigitalPin DPIN_>
using FastDigitalPin = typename FastPinType<DPIN_>::TYPE;
/// @endcond
}
#endif /* FASTIO_HH */
/// @endcond
to the end of gpio.h
You add the functionality to use
FastDigitalPin<DigitalPin::LED> led{PinMode::FASTOUTPUT};
as alternative for
FastPinType<DigitalPin::LED>::TYPE led2(PinMode::FASTOUTPUT);
Leading to more readable an understandable code