Skip to content

Allow the underlying interface to be released consuming the DisplayProperties#35

Open
SCingolani wants to merge 1 commit intorust-embedded-community:masterfrom
SCingolani:master
Open

Allow the underlying interface to be released consuming the DisplayProperties#35
SCingolani wants to merge 1 commit intorust-embedded-community:masterfrom
SCingolani:master

Conversation

@SCingolani
Copy link

Necessary for https://github.com/SCingolani/rp-hal-boards/tree/pololu-threepi-plus-2040 where Spi interface needs to be reconfigured and shared between two devices. In between, the SCK Pin of the SH1106 has to be set to FunctionNull to avoid driving it while using the other device.

This change consumes the DisplayProperties and returns to the user both the Spi instance and the pins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant