Ported from https://github.com/google/periph/issues/135. Requires https://github.com/periph/conn/issues/32.
Ported from google/periph#135.
Requires periph/conn#32.