-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Feature/stm32 i2c v1 slave mode #4579
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
Open
HybridChild
wants to merge
26
commits into
embassy-rs:main
Choose a base branch
from
HybridChild:feature/stm32-i2c-v1-slave-mode
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Feature/stm32 i2c v1 slave mode #4579
HybridChild
wants to merge
26
commits into
embassy-rs:main
from
HybridChild:feature/stm32-i2c-v1-slave-mode
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ation during v1 rework" This reverts commit d38e1de962b92d1d48f1991ce09e494ea46d3f7f.
…te struct" This reverts commit b690a03.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Implements I2C MultiMaster (Slave) functionality for STM32 v1 hardware.
Changes
blocking_listen()
,blocking_respond_to_read()
,blocking_respond_to_write()
listen()
,respond_to_read()
,respond_to_write()
FrameOptions
enum toOperationFraming
and add documentationTesting
Tested on STM32F401RE Nucleo board with Digilent Analog Discovery acting as I2C Master.
I2C frequency: 100kHz
Slave address: 0x42 (7-bit)
Related Issues
stm32/i2c: slave mode support #622