Skip to content
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

Adc instance #281

Merged
merged 16 commits into from
Mar 3, 2022
Merged

Adc instance #281

merged 16 commits into from
Mar 3, 2022

Conversation

Sh3Rm4n
Copy link
Member

@Sh3Rm4n Sh3Rm4n commented Aug 19, 2021

No description provided.

This de-macrofies the ADC implementation and enables the use of
`Adc::new` instead of e.g. `Adc::adc1`.
@Sh3Rm4n Sh3Rm4n force-pushed the adc-instance branch 4 times, most recently from e204fc6 to 971bdfa Compare March 3, 2022 08:56
Sh3Rm4n and others added 14 commits March 3, 2022 10:04
This also supports all devices now, instead of only f303 variants.

The channel information of the channels where generated automatically,
with help of the stm32cubemx "database" (xml files),
and `xq` a xml wrapper program for `jq`.

As a rework of codegen is needed to support the ADC channel generation
the easier route was taken, including checking in the scripts used
for that.

- Support most important configurations.
- Better OneShot implementation support.
- Interrupt support.
@Sh3Rm4n Sh3Rm4n merged commit b283bc8 into stm32-rs:master Mar 3, 2022
@Sh3Rm4n Sh3Rm4n deleted the adc-instance branch March 3, 2022 12:12
@Sh3Rm4n Sh3Rm4n mentioned this pull request Mar 7, 2022
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant