periph / conn

Go·Hardware·Lean - Interfaces
https://periph.io
Apache License 2.0
65 stars 11 forks source link

i2c, pin, spi: Figure out a way for driver to communicate real chosen speed back to user #33

Open maruel opened 10 months ago

maruel commented 10 months ago

Ported from https://github.com/google/periph/issues/255.

Sadly most of the time the driver doesn't return the information at all, but we should try to at least when it's possible; this requires an API to expose this information.