You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal is to be able to list the pin used by each I²C/1-wire/SPI port/bus without having to open the port/bus, as this is currently the case.
To achieve this, the corresponding Ref needs to be augmented with the corresponding pin names (RX/TX/CS/etc). This in itself isn't so bad and could be not considered a breaking change.
The breaking change is that this information needs to be passed to the Register() function, otherwise the register function would have to open the port/bus itself, which would slow down registration and would potentially cause unintended side effects. So if the Register() function needs to be changed, this is a breaking change.
Ported from google/periph#257.
The goal is to be able to list the pin used by each I²C/1-wire/SPI port/bus without having to open the port/bus, as this is currently the case.
To achieve this, the corresponding Ref needs to be augmented with the corresponding pin names (RX/TX/CS/etc). This in itself isn't so bad and could be not considered a breaking change.
The breaking change is that this information needs to be passed to the Register() function, otherwise the register function would have to open the port/bus itself, which would slow down registration and would potentially cause unintended side effects. So if the Register() function needs to be changed, this is a breaking change.
Ref:
The text was updated successfully, but these errors were encountered: