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

Implement hal::blocking::i2c::Transactional and hal::blocking::i2c::TransactionalIter for I2c #361

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

Conversation

linclelinkpart5
Copy link

@linclelinkpart5 linclelinkpart5 commented Nov 5, 2022

Closes #338.

Would love some eyes on the calls to raw_start, I believe I'm following the contracts as listed in Transactional and TransasctionalIter.

Copy link
Owner

@Rahix Rahix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thanks a lot for the PR! Your implementation looks good to me from taking a look at it but I didn't run any tests so far. I assume you verified that it's working on real hardware?

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.

Add impl of hal::blocking::i2c::Transactional to avr_hal_generic::i2c::I2c
2 participants