-
Notifications
You must be signed in to change notification settings - Fork 48
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
Fully Enforced Cordic #144
Conversation
fn constrain(self, rcc: &mut Rcc) -> CordicReset; | ||
} | ||
|
||
impl Ext for CORDIC { | ||
#[inline] | ||
fn constrain(self, rcc: &mut Rcc) -> CordicReset { | ||
rcc.rb.ahb1enr.modify(|_, w| w.cordicen().set_bit()); | ||
rcc.rb.ahb1enr().modify(|_, w| w.cordicen().set_bit()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you like to add the cordic
feature to CI so this will be checked?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, I'm unfamiliar with your CI scheme, is my change correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haha, it appears it is correct :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! :)
Is it ok if I merge this or do want to add anything more? |
This code has been stagnant for months, so I think it's safe to merge :) Thanks! |
Thank you! |
With the new
from_*
register accessor methods, the fully type enforced Cordic implementation can be merged!