STM32: AnalogOut: do not call HAL_DAC_Start in dac_write
dac_write (used by AnalogOut.write) calls HAL_DAC_Start
every time. It is required to call HAL_DAC_Start only once.
HAL_DAC_Start uses internally HAL_Delay(1) making AnalogOut
not suitable for use in high speed application.
This change removes call to HAL_DAC_Start in dac_write and
moves it to analogout_init.
ls
1 parent 6aef1af commit f64e64dc9d64d4041e43007623d29cc6a7061a75
@Marek Czerski Marek Czerski authored on 12 Mar 2021
Showing 15 changed files
View
targets/TARGET_STM/TARGET_STM32F0/analogout_device.c
View
targets/TARGET_STM/TARGET_STM32F1/analogout_device.c
View
targets/TARGET_STM/TARGET_STM32F2/analogout_device.c
View
targets/TARGET_STM/TARGET_STM32F3/analogout_device.c
View
targets/TARGET_STM/TARGET_STM32F4/analogout_device.c
View
targets/TARGET_STM/TARGET_STM32F7/analogout_device.c
View
targets/TARGET_STM/TARGET_STM32G0/analogout_device.c
View
targets/TARGET_STM/TARGET_STM32G4/analogout_device.c
View
targets/TARGET_STM/TARGET_STM32H7/analogout_device.c
View
targets/TARGET_STM/TARGET_STM32L0/analogout_device.c
View
targets/TARGET_STM/TARGET_STM32L1/analogout_device.c
View
targets/TARGET_STM/TARGET_STM32L4/analogout_device.c
View
targets/TARGET_STM/TARGET_STM32L5/analogout_device.c
View
targets/TARGET_STM/TARGET_STM32WL/analogout_device.c
View
targets/TARGET_STM/analogout_api.c