Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add I2C AddressingMode. #326

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

reitermarkus
Copy link
Contributor

@reitermarkus reitermarkus commented Jul 23, 2022

This doesn't actually do anything useful at the moment since all functions that accept an address are only u8, but makes the code a bit more readable.

It took me quite a while to figure out why my code was working with the STM32 C HAL but not in Rust: The C HAL expects the address to already be shifted while this is done internally in the Rust HAL.

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