Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • L lpc43xx-hal
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Embedded Rust
  • lpc43xx-hal
  • Merge requests
  • !14

Fix i2c read of multiple bytes

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Stefan Hellgren requested to merge fix-i2c-read-of-multiple-bytes into master Nov 07, 2019
  • Overview 1
  • Commits 2
  • Pipelines 1
  • Changes 1

Fix for i2c read when multiple bytes is read The code did only work for a single byte read.

The aa is cleared in the new function.
The aa bit is never set if only one byte is recieved.

but.. when multiple bytes are recived the aa is set after
the first byte and must be reset when the last byte is revieved.

Tested that i2c write work with multiple bytes.
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-i2c-read-of-multiple-bytes