-
Notifications
You must be signed in to change notification settings - Fork 6
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
✨ stm32f1 ADC driver #77
Conversation
7551d56
to
fbd7cf5
Compare
Break the adc demo changes out to a new branch. I haven't come up with a solid way to manage this otherwise. But basically demos, must follow what is available in package releases. Meaning that we cannot commit changes to demos until a package has been released. |
fbd7cf5
to
52be489
Compare
Fixed. Will do separate PR with demo portion once merged. |
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.
Great work, but will need some changes. I'm also not sure how this works if you have multiple ADC pins in use at once.
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.
Looking fantastic. Just a few more things and we'll be good to go.
I might have you implement the locking mechanism for this and |
This is only available once 5.0 releases correct? |
No this can be done on any version. Its a stylistic approach. |
- Updated to fix register pointer error. - Verified and tested with modified demo using both adc1 and adc2, as well as using adc1 with 2 separate channels.
- Updated to fix register pointer error. - Verified and tested with modified demo using both adc1 and adc2, as well as using adc1 with 2 separate channels.
- Updated to fix register pointer error. - Verified and tested with modified demo using both adc1 and adc2, as well as using adc1 with 2 separate channels.
Resolves #7. Updated to add the adc peripheral manager and acquire_ styling. Also tested and verified using both adc's in the demo together, as well as using multiple channels on the same one. Will do separate PR with updated demo once pulled |
- Changed from adc_reg_t * to void * for adc_reg_location - Included function to cast for usage in implementation file - Updated to make classes non-copyable or movable - Removal/addition of some const's - Fixed comments
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.
Just a few last things to work on and we should be golden. I'll bypass the docs issue and submit even if it fails.
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.
Great work @50xp50 ! Approved!
No description provided.