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.
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.