Skip to content
This repository was archived by the owner on Mar 2, 2026. It is now read-only.
This repository was archived by the owner on Mar 2, 2026. It is now read-only.

i2creg, onewirereg, spireg: augment Ref to include the pins #257

@maruel

Description

@maruel

The goal is to be able to present 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 name or reference (to be determined). 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:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions