Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

Make RCC enr() and rstr() public #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Make RCC enr() and rstr() public #46

wants to merge 1 commit into from

Conversation

burrbull
Copy link
Contributor

Functions for enable, reset peripherals can be used in other crates or in main.

Functions for enable, reset peripherals can be used in other crates or in main.
@japaric
Copy link
Owner

japaric commented Feb 7, 2018

Thanks for the PR, @burrbull.

I'd rather not make these public as they would let you break all the other abstractions. For example, you create / initialize an instance of Serial but a*b.rstr() lets you reset peripherals and undo the Serial configuration.

Is there a specific use case that you need these changes for? Perhaps there's some other way to achieve it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants