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

Feature request - ADC #35

Open
usbalbin opened this issue Jan 20, 2025 · 3 comments
Open

Feature request - ADC #35

usbalbin opened this issue Jan 20, 2025 · 3 comments

Comments

@usbalbin
Copy link
Member

Add support for the ADCx peripherals which are available on all devices, also including H523 and H533.

@astapleton
Copy link
Contributor

@usbalbin I'm not going to be able to take this on the short-term, but I'm very happy to help you out and review contributions if you're willing to submit PRs for this.

@usbalbin
Copy link
Member Author

No problem, sounds good! I am happy to give this a go in (hopefully not too distant) future, unless someone else gets to this first.

Thanks :)

BTW, anyone know if H5's ADC's are similar to that of any other family?

@astapleton
Copy link
Contributor

astapleton commented Jan 21, 2025

Looks like a number of processors share the same ADC peripheral (see here). Notably, the H7 series does, and I've based a lot of my work on stm32h7xx-hal (although I've demacro-fied some of the drivers, taking inspiration from stm32f4xx-hal in order to do so). See the I2C PR (#27) for an example (ie. Instance trait, and usage of generics).

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

No branches or pull requests

2 participants