lhr-solar / Embedded-Sharepoint

This repository contains files that can be shared among us, the embedded design teams.
MIT License
3 stars 2 forks source link

BSP ADC integration between Controls & BPS #26

Closed NathanielDelgado closed 1 month ago

NathanielDelgado commented 1 year ago

Wanted to rewrite the BSP_ADC.c/h files so that they can be used in both Controls and BPS applications using HAL.

What I found is they basically the same, except the functions are a bit different and the GPIO pins are a bit different. The new files should have either ADC1_PORTA (BPS) or ADC1_PORTC (Controls) defined or else the init won't be successful.