DAC_Channel, LL_DAC_InitTypeDef * DAC_InitStruct)
Initialize some features of DAC instance.
DACx: DAC instance
DAC_Channel: This parameter can be one of the following
values:
LL_DAC_CHANNEL_1
LL_DAC_CHANNEL_2
DAC_InitStruct: Pointer to a LL_DAC_InitTypeDef structure
An: ErrorStatus enumeration value:
SUCCESS: DAC registers are initialized
ERROR: DAC registers are not initialized
The setting of these parameters by function LL_DAC_Init() is
conditioned to DAC state: DAC instance must be disabled.
LL_DAC_StructInit
void LL_DAC_StructInit (LL_DAC_InitTypeDef *
DAC_InitStruct)
Set each LL_DAC_InitTypeDef field to default value.
DAC_InitStruct: pointer to a LL_DAC_InitTypeDef structure
whose fields will be set to default values.
54.3 DAC Firmware driver defines
54.3.1 DAC
DAC channels
DAC flags
DAC channel 1 flag DMA underrun
DAC channel 2 flag DMA underrun
Definitions of DAC hardware constraints delays
LL_DAC_DELAY_STARTUP_VOLTAGE_SETTLING_US
Delay for DAC channel voltage
settling time from DAC channel
startup (transition from disable
to enable)
LL_DAC_DELAY_VOLTAGE_SETTLING_US
Delay for DAC channel voltage
settling time
DAC interruptions
DAC channel 1 interruption DMA underrun
DAC channel 2 interruption DMA underrun
DAC channel output buffer