Skip to content

Regarding the invocation of the built-in operational amplifier of STM32G4 #2790

Answered by fpistm
CJT1111 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @CJT1111
No default support provided in the core.
Anyway you can call directly the HAL to configure and use it.
If you need the ADC and/or the DAC, you can disabled the Arduino part as described here:
https://github.com/stm32duino/Arduino_Core_STM32/wiki/HAL-configuration#hal-module-only
by defining
HAL_ADC_MODULE_ONLY
HAL_DAC_MODULE_ONLY

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by CJT1111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants