STM32L443xx HAL User Manual
|
Functions | |
__STATIC_INLINE void | LL_DAC_Enable (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
Enable DAC selected channel. | |
__STATIC_INLINE void | LL_DAC_Disable (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
Disable DAC selected channel. | |
__STATIC_INLINE uint32_t | LL_DAC_IsEnabled (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
Get DAC enable state of the selected channel. | |
__STATIC_INLINE void | LL_DAC_EnableTrigger (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
Enable DAC trigger of the selected channel. | |
__STATIC_INLINE void | LL_DAC_DisableTrigger (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
Disable DAC trigger of the selected channel. | |
__STATIC_INLINE uint32_t | LL_DAC_IsTriggerEnabled (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
Get DAC trigger state of the selected channel. | |
__STATIC_INLINE void | LL_DAC_TrigSWConversion (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
Trig DAC conversion by software for the selected DAC channel. | |
__STATIC_INLINE void | LL_DAC_ConvertData12RightAligned (DAC_TypeDef *DACx, uint32_t DAC_Channel, uint32_t Data) |
Set the data to be loaded in the data holding register in format 12 bits left alignment (LSB aligned on bit 0), for the selected DAC channel. | |
__STATIC_INLINE void | LL_DAC_ConvertData12LeftAligned (DAC_TypeDef *DACx, uint32_t DAC_Channel, uint32_t Data) |
Set the data to be loaded in the data holding register in format 12 bits left alignment (MSB aligned on bit 15), for the selected DAC channel. | |
__STATIC_INLINE void | LL_DAC_ConvertData8RightAligned (DAC_TypeDef *DACx, uint32_t DAC_Channel, uint32_t Data) |
Set the data to be loaded in the data holding register in format 8 bits left alignment (LSB aligned on bit 0), for the selected DAC channel. | |
__STATIC_INLINE void | LL_DAC_ConvertDualData12RightAligned (DAC_TypeDef *DACx, uint32_t DataChannel1, uint32_t DataChannel2) |
Set the data to be loaded in the data holding register in format 12 bits left alignment (LSB aligned on bit 0), for both DAC channels. | |
__STATIC_INLINE void | LL_DAC_ConvertDualData12LeftAligned (DAC_TypeDef *DACx, uint32_t DataChannel1, uint32_t DataChannel2) |
Set the data to be loaded in the data holding register in format 12 bits left alignment (MSB aligned on bit 15), for both DAC channels. | |
__STATIC_INLINE void | LL_DAC_ConvertDualData8RightAligned (DAC_TypeDef *DACx, uint32_t DataChannel1, uint32_t DataChannel2) |
Set the data to be loaded in the data holding register in format 8 bits left alignment (LSB aligned on bit 0), for both DAC channels. | |
__STATIC_INLINE uint32_t | LL_DAC_RetrieveOutputData (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
Retrieve output data currently generated for the selected DAC channel. |
__STATIC_INLINE void LL_DAC_ConvertData12LeftAligned | ( | DAC_TypeDef * | DACx, |
uint32_t | DAC_Channel, | ||
uint32_t | Data | ||
) |
Set the data to be loaded in the data holding register in format 12 bits left alignment (MSB aligned on bit 15), for the selected DAC channel.
DACx | DAC instance |
DAC_Channel | This parameter can be one of the following values: (1) On this STM32 serie, parameter not available on all devices. Refer to device datasheet for channels availability. |
Data | Value between Min_Data=0x000 and Max_Data=0xFFF |
None |
Definition at line 1641 of file stm32l4xx_ll_dac.h.
References __DAC_PTR_REG_OFFSET, DAC_REG_DHR12LX_REGOFFSET_BITOFFSET_POS, and DAC_REG_DHR_REGOFFSET_MASK_POSBIT0.
__STATIC_INLINE void LL_DAC_ConvertData12RightAligned | ( | DAC_TypeDef * | DACx, |
uint32_t | DAC_Channel, | ||
uint32_t | Data | ||
) |
Set the data to be loaded in the data holding register in format 12 bits left alignment (LSB aligned on bit 0), for the selected DAC channel.
DACx | DAC instance |
DAC_Channel | This parameter can be one of the following values: (1) On this STM32 serie, parameter not available on all devices. Refer to device datasheet for channels availability. |
Data | Value between Min_Data=0x000 and Max_Data=0xFFF |
None |
Definition at line 1616 of file stm32l4xx_ll_dac.h.
References __DAC_PTR_REG_OFFSET, DAC_REG_DHR12RX_REGOFFSET_BITOFFSET_POS, and DAC_REG_DHR_REGOFFSET_MASK_POSBIT0.
__STATIC_INLINE void LL_DAC_ConvertData8RightAligned | ( | DAC_TypeDef * | DACx, |
uint32_t | DAC_Channel, | ||
uint32_t | Data | ||
) |
Set the data to be loaded in the data holding register in format 8 bits left alignment (LSB aligned on bit 0), for the selected DAC channel.
DACx | DAC instance |
DAC_Channel | This parameter can be one of the following values: (1) On this STM32 serie, parameter not available on all devices. Refer to device datasheet for channels availability. |
Data | Value between Min_Data=0x00 and Max_Data=0xFF |
None |
Definition at line 1666 of file stm32l4xx_ll_dac.h.
References __DAC_PTR_REG_OFFSET, DAC_REG_DHR8RX_REGOFFSET_BITOFFSET_POS, and DAC_REG_DHR_REGOFFSET_MASK_POSBIT0.
__STATIC_INLINE void LL_DAC_ConvertDualData12LeftAligned | ( | DAC_TypeDef * | DACx, |
uint32_t | DataChannel1, | ||
uint32_t | DataChannel2 | ||
) |
Set the data to be loaded in the data holding register in format 12 bits left alignment (MSB aligned on bit 15), for both DAC channels.
DACx | DAC instance |
DataChannel1 | Value between Min_Data=0x000 and Max_Data=0xFFF |
DataChannel2 | Value between Min_Data=0x000 and Max_Data=0xFFF |
None |
Definition at line 1706 of file stm32l4xx_ll_dac.h.
References DAC_DHR12LD_DACC2DHR_BITOFFSET_POS.
__STATIC_INLINE void LL_DAC_ConvertDualData12RightAligned | ( | DAC_TypeDef * | DACx, |
uint32_t | DataChannel1, | ||
uint32_t | DataChannel2 | ||
) |
Set the data to be loaded in the data holding register in format 12 bits left alignment (LSB aligned on bit 0), for both DAC channels.
DACx | DAC instance |
DataChannel1 | Value between Min_Data=0x000 and Max_Data=0xFFF |
DataChannel2 | Value between Min_Data=0x000 and Max_Data=0xFFF |
None |
Definition at line 1687 of file stm32l4xx_ll_dac.h.
References DAC_DHR12RD_DACC2DHR_BITOFFSET_POS.
__STATIC_INLINE void LL_DAC_ConvertDualData8RightAligned | ( | DAC_TypeDef * | DACx, |
uint32_t | DataChannel1, | ||
uint32_t | DataChannel2 | ||
) |
Set the data to be loaded in the data holding register in format 8 bits left alignment (LSB aligned on bit 0), for both DAC channels.
DACx | DAC instance |
DataChannel1 | Value between Min_Data=0x00 and Max_Data=0xFF |
DataChannel2 | Value between Min_Data=0x00 and Max_Data=0xFF |
None |
Definition at line 1727 of file stm32l4xx_ll_dac.h.
References DAC_DHR8RD_DACC2DHR_BITOFFSET_POS.
__STATIC_INLINE void LL_DAC_Disable | ( | DAC_TypeDef * | DACx, |
uint32_t | DAC_Channel | ||
) |
Disable DAC selected channel.
DACx | DAC instance |
DAC_Channel | This parameter can be one of the following values: (1) On this STM32 serie, parameter not available on all devices. Refer to device datasheet for channels availability. |
None |
Definition at line 1476 of file stm32l4xx_ll_dac.h.
References DAC_CR_CHX_BITOFFSET_MASK.
__STATIC_INLINE void LL_DAC_DisableTrigger | ( | DAC_TypeDef * | DACx, |
uint32_t | DAC_Channel | ||
) |
Disable DAC trigger of the selected channel.
DACx | DAC instance |
DAC_Channel | This parameter can be one of the following values: (1) On this STM32 serie, parameter not available on all devices. Refer to device datasheet for channels availability. |
None |
Definition at line 1543 of file stm32l4xx_ll_dac.h.
References DAC_CR_CHX_BITOFFSET_MASK.
__STATIC_INLINE void LL_DAC_Enable | ( | DAC_TypeDef * | DACx, |
uint32_t | DAC_Channel | ||
) |
Enable DAC selected channel.
DACx | DAC instance |
DAC_Channel | This parameter can be one of the following values: (1) On this STM32 serie, parameter not available on all devices. Refer to device datasheet for channels availability. |
None |
Definition at line 1457 of file stm32l4xx_ll_dac.h.
References DAC_CR_CHX_BITOFFSET_MASK.
__STATIC_INLINE void LL_DAC_EnableTrigger | ( | DAC_TypeDef * | DACx, |
uint32_t | DAC_Channel | ||
) |
Enable DAC trigger of the selected channel.
DACx | DAC instance |
DAC_Channel | This parameter can be one of the following values: (1) On this STM32 serie, parameter not available on all devices. Refer to device datasheet for channels availability. |
None |
Definition at line 1524 of file stm32l4xx_ll_dac.h.
References DAC_CR_CHX_BITOFFSET_MASK.
__STATIC_INLINE uint32_t LL_DAC_IsEnabled | ( | DAC_TypeDef * | DACx, |
uint32_t | DAC_Channel | ||
) |
Get DAC enable state of the selected channel.
(0: DAC channel is disabled, 1: DAC channel is enabled)
DACx | DAC instance |
DAC_Channel | This parameter can be one of the following values: (1) On this STM32 serie, parameter not available on all devices. Refer to device datasheet for channels availability. |
State | of bit (1 or 0). |
Definition at line 1496 of file stm32l4xx_ll_dac.h.
References DAC_CR_CHX_BITOFFSET_MASK.
Referenced by LL_DAC_Init().
__STATIC_INLINE uint32_t LL_DAC_IsTriggerEnabled | ( | DAC_TypeDef * | DACx, |
uint32_t | DAC_Channel | ||
) |
Get DAC trigger state of the selected channel.
(0: DAC trigger is disabled, 1: DAC trigger is enabled)
DACx | DAC instance |
DAC_Channel | This parameter can be one of the following values: (1) On this STM32 serie, parameter not available on all devices. Refer to device datasheet for channels availability. |
State | of bit (1 or 0). |
Definition at line 1563 of file stm32l4xx_ll_dac.h.
References DAC_CR_CHX_BITOFFSET_MASK.
__STATIC_INLINE uint32_t LL_DAC_RetrieveOutputData | ( | DAC_TypeDef * | DACx, |
uint32_t | DAC_Channel | ||
) |
Retrieve output data currently generated for the selected DAC channel.
DACx | DAC instance |
DAC_Channel | This parameter can be one of the following values: (1) On this STM32 serie, parameter not available on all devices. Refer to device datasheet for channels availability. |
Value | between Min_Data=0x000 and Max_Data=0xFFF |
Definition at line 1752 of file stm32l4xx_ll_dac.h.
References __DAC_PTR_REG_OFFSET, DAC_REG_DORX_REGOFFSET_BITOFFSET_POS, and DAC_REG_DORX_REGOFFSET_MASK_POSBIT0.
__STATIC_INLINE void LL_DAC_TrigSWConversion | ( | DAC_TypeDef * | DACx, |
uint32_t | DAC_Channel | ||
) |
Trig DAC conversion by software for the selected DAC channel.
DACx | DAC instance |
DAC_Channel | This parameter can a combination of the following values: (1) On this STM32 serie, parameter not available on all devices. Refer to device datasheet for channels availability. |
None |
Definition at line 1594 of file stm32l4xx_ll_dac.h.
References DAC_SWTR_CHX_MASK.