Update peripheral pins in board.dts and pinmux.c

This commit is contained in:
Martin Jäger
2020-05-06 12:53:26 +02:00
parent 8dd576e40e
commit 4a70293375
13 changed files with 25 additions and 151 deletions
+1
View File
@@ -100,6 +100,7 @@ static void vref_setup()
static void dac_setup()
{
#if defined(CONFIG_SOC_SERIES_STM32F0X) || defined(CONFIG_SOC_SERIES_STM32L0X)
/* DAC1 at PA4 for load and DC/DC / PWM switch current measurement * VCC */
LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_DAC1);
LL_DAC_SetOutputBuffer(DAC1, LL_DAC_CHANNEL_1, LL_DAC_OUTPUT_BUFFER_ENABLE);
LL_DAC_Enable(DAC1, LL_DAC_CHANNEL_1);