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

Non-blocking TWIS, use embedded-dma #230

Merged
merged 12 commits into from
Nov 17, 2020
Merged

Conversation

kalkyl
Copy link
Contributor

@kalkyl kalkyl commented Sep 22, 2020

  • Added non-blocking DMA transactions to the TWIS module and renamed the old blocking ones to rx_blocking and tx_blocking. Using the embedded-dma traits.
  • Added support for 9160.
  • Added Sealed bound and Interrupt const to Instance.
  • Added some missing getters and events.
  • Renamed some setter functions for consistency.
  • Added demo of non-blocking usage: https://github.com/kalkyl/nrf-hal/blob/twis-dma/examples/twis-dma-demo/src/main.rs

Copy link
Contributor

@jonas-schievink jonas-schievink left a comment

Choose a reason for hiding this comment

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

Nice!

nrf-hal-common/src/twis.rs Show resolved Hide resolved
nrf-hal-common/src/twis.rs Outdated Show resolved Hide resolved
nrf-hal-common/src/twis.rs Outdated Show resolved Hide resolved
nrf-hal-common/src/twis.rs Outdated Show resolved Hide resolved
@jonas-schievink
Copy link
Contributor

@kalkyl looks like this has some merge conflicts now. If you address those I can merge.

@jonas-schievink jonas-schievink merged commit be8e7e0 into nrf-rs:master Nov 17, 2020
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.

None yet

3 participants