https://gitlab.cern.ch/bat/optoboard_felix/-/blob/master/src/optoboard_felix/driver/Optoboard.py#L332-335