Skip to content

Add SPIS module#226

Merged
jamesmunns merged 9 commits intonrf-rs:masterfrom
kalkyl:spis
Sep 22, 2020
Merged

Add SPIS module#226
jamesmunns merged 9 commits intonrf-rs:masterfrom
kalkyl:spis

Conversation

@kalkyl
Copy link
Copy Markdown
Contributor

@kalkyl kalkyl commented Sep 21, 2020

Added a module for the SPIS peripheral, using the embedded-dma traits.
Tested on nRF52840.

Demo of usage (pinout is for the ItsyBitsy nRF52840):
https://github.com/kalkyl/nrf-hal/blob/spis/examples/spis-demo/src/main.rs

Copy link
Copy Markdown
Member

@jamesmunns jamesmunns left a comment

Choose a reason for hiding this comment

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

Overall looks good, I'll plan on using this pretty much immediately!

I did have a couple nits, but nothing huge :)

Comment thread nrf-hal-common/src/spis.rs Outdated
Comment thread nrf-hal-common/src/spis.rs
Comment thread nrf-hal-common/src/spis.rs Outdated
Comment thread nrf-hal-common/src/spis.rs
Comment thread nrf-hal-common/src/spis.rs Outdated
Comment thread nrf-hal-common/src/spis.rs Outdated
@jamesmunns
Copy link
Copy Markdown
Member

Also, could you please add this to the changelog?

@kalkyl
Copy link
Copy Markdown
Contributor Author

kalkyl commented Sep 22, 2020

Overall looks good, I'll plan on using this pretty much immediately!

I did have a couple nits, but nothing huge :)

Thanks for your comments, agreed and fixed :)

@kalkyl kalkyl requested a review from jamesmunns September 22, 2020 08:47
@kalkyl kalkyl requested a review from jamesmunns September 22, 2020 09:06
@jamesmunns jamesmunns merged commit 3ce300c into nrf-rs:master Sep 22, 2020
@kalkyl kalkyl deleted the spis branch September 22, 2020 12:19
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.

2 participants