Skip to content

Conversation

@whitequark
Copy link
Contributor

This is only done for Access::ReadWrite because writing the reset
value to write-only registers does not seem like it has any potential
use at all.

Fixes #19.

This is only done for Access::ReadWrite because writing the reset value to write-only registers does not seem like it has any potential use at all. Fixes #19.
@japaric
Copy link
Member

japaric commented Apr 29, 2017

This is only done for Access::ReadWrite ...

Sounds sensible to me

Thanks!

@homunkulus r+

@homunkulus
Copy link
Contributor

📌 Commit a504b64 has been approved by japaric

@homunkulus
Copy link
Contributor

⌛ Testing commit a504b64 with merge 752b67b...

japaric pushed a commit that referenced this pull request Apr 29, 2017
Add a .reset() method as a short-hand for .write(|w| w) This is only done for Access::ReadWrite because writing the reset value to write-only registers does not seem like it has any potential use at all. Fixes #19.
@homunkulus
Copy link
Contributor

☀️ Test successful - status-appveyor, status-travis
Approved by: japaric
Pushing 752b67b to master...

@homunkulus homunkulus merged commit a504b64 into rust-embedded:master Apr 29, 2017
@whitequark whitequark deleted the reset-method branch April 29, 2017 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants