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

STM: Add separate flags for I2C slave transfer in progress #15499

Merged
merged 1 commit into from
May 3, 2024

Commits on Mar 28, 2024

  1. Add separate flags for I2C slave transfer in progress

    Fixes ARMmbed#15498
    
    Adds 2 boolean flags to the STM32 `i2c_s` object
    to indicate whether a transfer is in progress,
    separate from the existing "transfer pending" flags.
    
    `i2c_slave_write`, `i2c_slave_read` and their associated callbacks
    are modified to use these flags in addition to the pending flags.
    The original behavior of the pending flags is preserved.
    agausmann committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    dc49c2b View commit details
    Browse the repository at this point in the history