https://github.com/HunMaDog/MarklarDataflow/blob/eb4136dd532bc5f2c0a12ec3c078ea6445577fa5/include/pin/input_pin.hpp#L225