-
Notifications
You must be signed in to change notification settings - Fork 67
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
Add ADC usage (for stm32f303
devices)
#47
Commits on Jul 18, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b6934fe - Browse repository at this point
Copy the full SHA b6934feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 40a3a2c - Browse repository at this point
Copy the full SHA 40a3a2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d20228 - Browse repository at this point
Copy the full SHA 2d20228View commit details -
Configuration menu - View commit details
-
Copy full SHA for 611f219 - Browse repository at this point
Copy the full SHA 611f219View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62716c3 - Browse repository at this point
Copy the full SHA 62716c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13857e3 - Browse repository at this point
Copy the full SHA 13857e3View commit details -
Add ADC support for all f303 sub variants.
Also... * Reworked the Doc comments, added some TODO notes * moved MAX_ADVREGEN_STARTUP_US out of the corresponding function. * Removed some derived Traits that are not needed. * Refactored `wait_advregen_startup` function to avoid division by 0. * Added NOTEs for unsafe usage.
Configuration menu - View commit details
-
Copy full SHA for dc7f63a - Browse repository at this point
Copy the full SHA dc7f63aView commit details -
Update ADC Code to stm32f3 bump
This means: * Renaming of some register accesses. * Dropping some helper functions for advregen that are not needed anymore. * Dropping some (now) unnecessary `unsafe` blocks. Also added ADC availability to the CHANGELOG.md
Configuration menu - View commit details
-
Copy full SHA for 3a57d6b - Browse repository at this point
Copy the full SHA 3a57d6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 49d19db - Browse repository at this point
Copy the full SHA 49d19dbView commit details -
Apply consistent namings from code review
Co-Authored-By: Sh3Rm4n <f.vioel@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f1ee27c - Browse repository at this point
Copy the full SHA f1ee27cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2d37c8 - Browse repository at this point
Copy the full SHA e2d37c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e29640 - Browse repository at this point
Copy the full SHA 3e29640View commit details -
Skip rustfmt in the example when building the adc The reader should check each line to make sure they understand what they are passing.
Configuration menu - View commit details
-
Copy full SHA for 5b8b96a - Browse repository at this point
Copy the full SHA 5b8b96aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e84d05 - Browse repository at this point
Copy the full SHA 3e84d05View commit details -
i.e. - use context sensitive read/write functions - clear flag after usage
Configuration menu - View commit details
-
Copy full SHA for 1988a0d - Browse repository at this point
Copy the full SHA 1988a0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 204fa84 - Browse repository at this point
Copy the full SHA 204fa84View commit details -
Allows CKMODE to be set when initalizing the adc
Clocksettings are checked during setup and as the setup can fail, Option<adc> is returned now.
Configuration menu - View commit details
-
Copy full SHA for a09800b - Browse repository at this point
Copy the full SHA a09800bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 86c049b - Browse repository at this point
Copy the full SHA 86c049bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c130f7a - Browse repository at this point
Copy the full SHA c130f7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 54cf1ed - Browse repository at this point
Copy the full SHA 54cf1edView commit details -
Configuration menu - View commit details
-
Copy full SHA for d8a007f - Browse repository at this point
Copy the full SHA d8a007fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09af232 - Browse repository at this point
Copy the full SHA 09af232View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ea3dcf - Browse repository at this point
Copy the full SHA 9ea3dcfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d812ae - Browse repository at this point
Copy the full SHA 1d812aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e86d48 - Browse repository at this point
Copy the full SHA 5e86d48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3258be6 - Browse repository at this point
Copy the full SHA 3258be6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9832b9 - Browse repository at this point
Copy the full SHA a9832b9View commit details -
Use descriptive methods on register calls
Note: In fn calibrate, `while self.rb.cr.read().adcal().is_not_complete() {}` would be better than `while !self.rb.cr.read().adcal().is_complete() {}` However this seems to lack in our version of the PAC In fn disable, `self.rb.cr.modify(|_, w| w.aden().disable());` would be better than `self.rb.cr.modify(|_, w| w.aden().clear_bit());` However this seems to lack in our version of the PAC
Configuration menu - View commit details
-
Copy full SHA for 153b51a - Browse repository at this point
Copy the full SHA 153b51aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 776c5fd - Browse repository at this point
Copy the full SHA 776c5fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c472c7 - Browse repository at this point
Copy the full SHA 0c472c7View commit details
Commits on Jul 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ff7a430 - Browse repository at this point
Copy the full SHA ff7a430View commit details -
Change default Sampletime to T_1
This is the reset value of the ADC. Now when running the example it is possible to get values other than 0 and 4095 by pressing the user button shortly.
Configuration menu - View commit details
-
Copy full SHA for 26610c6 - Browse repository at this point
Copy the full SHA 26610c6View commit details