|
STM32L4xx_HAL_Driver
1.14.0
|
Functions | |
| __STATIC_INLINE void | LL_DAC_Enable (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
| Enable DAC selected channel. CR EN1 LL_DAC_Enable CR EN2 LL_DAC_Enable. More... | |
| __STATIC_INLINE void | LL_DAC_Disable (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
| Disable DAC selected channel. CR EN1 LL_DAC_Disable CR EN2 LL_DAC_Disable. More... | |
| __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) CR EN1 LL_DAC_IsEnabled CR EN2 LL_DAC_IsEnabled. More... | |
| __STATIC_INLINE void | LL_DAC_EnableTrigger (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
| Enable DAC trigger of the selected channel. More... | |
| __STATIC_INLINE void | LL_DAC_DisableTrigger (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
| Disable DAC trigger of the selected channel. CR TEN1 LL_DAC_DisableTrigger CR TEN2 LL_DAC_DisableTrigger. More... | |
| __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) CR TEN1 LL_DAC_IsTriggerEnabled CR TEN2 LL_DAC_IsTriggerEnabled. More... | |
| __STATIC_INLINE void | LL_DAC_TrigSWConversion (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
| Trig DAC conversion by software for the selected DAC channel. More... | |
| __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. DHR12R1 DACC1DHR LL_DAC_ConvertData12RightAligned DHR12R2 DACC2DHR LL_DAC_ConvertData12RightAligned. More... | |
| __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. DHR12L1 DACC1DHR LL_DAC_ConvertData12LeftAligned DHR12L2 DACC2DHR LL_DAC_ConvertData12LeftAligned. More... | |
| __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. DHR8R1 DACC1DHR LL_DAC_ConvertData8RightAligned DHR8R2 DACC2DHR LL_DAC_ConvertData8RightAligned. More... | |
| __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. DHR12RD DACC1DHR LL_DAC_ConvertDualData12RightAligned DHR12RD DACC2DHR LL_DAC_ConvertDualData12RightAligned. More... | |
| __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. DHR12LD DACC1DHR LL_DAC_ConvertDualData12LeftAligned DHR12LD DACC2DHR LL_DAC_ConvertDualData12LeftAligned. More... | |
| __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. DHR8RD DACC1DHR LL_DAC_ConvertDualData8RightAligned DHR8RD DACC2DHR LL_DAC_ConvertDualData8RightAligned. More... | |
| __STATIC_INLINE uint32_t | LL_DAC_RetrieveOutputData (DAC_TypeDef *DACx, uint32_t DAC_Channel) |
| Retrieve output data currently generated for the selected DAC channel. More... | |
| __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. DHR12L1 DACC1DHR LL_DAC_ConvertData12LeftAligned
DHR12L2 DACC2DHR LL_DAC_ConvertData12LeftAligned.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| Data | Value between Min_Data=0x000 and Max_Data=0xFFF |
| None |
Definition at line 1642 of file stm32l4xx_ll_dac.h.
| __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. DHR12R1 DACC1DHR LL_DAC_ConvertData12RightAligned
DHR12R2 DACC2DHR LL_DAC_ConvertData12RightAligned.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| Data | Value between Min_Data=0x000 and Max_Data=0xFFF |
| None |
Definition at line 1617 of file stm32l4xx_ll_dac.h.
| __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. DHR8R1 DACC1DHR LL_DAC_ConvertData8RightAligned
DHR8R2 DACC2DHR LL_DAC_ConvertData8RightAligned.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| Data | Value between Min_Data=0x00 and Max_Data=0xFF |
| None |
Definition at line 1667 of file stm32l4xx_ll_dac.h.
| __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. DHR12LD DACC1DHR LL_DAC_ConvertDualData12LeftAligned
DHR12LD DACC2DHR LL_DAC_ConvertDualData12LeftAligned.
| 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 1707 of file stm32l4xx_ll_dac.h.
| __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. DHR12RD DACC1DHR LL_DAC_ConvertDualData12RightAligned
DHR12RD DACC2DHR LL_DAC_ConvertDualData12RightAligned.
| 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 1688 of file stm32l4xx_ll_dac.h.
| __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. DHR8RD DACC1DHR LL_DAC_ConvertDualData8RightAligned
DHR8RD DACC2DHR LL_DAC_ConvertDualData8RightAligned.
| 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 1728 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE void LL_DAC_Disable | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel | ||
| ) |
Disable DAC selected channel. CR EN1 LL_DAC_Disable
CR EN2 LL_DAC_Disable.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| None |
Definition at line 1477 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE void LL_DAC_DisableTrigger | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel | ||
| ) |
Disable DAC trigger of the selected channel. CR TEN1 LL_DAC_DisableTrigger
CR TEN2 LL_DAC_DisableTrigger.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| None |
Definition at line 1544 of file stm32l4xx_ll_dac.h.
| __STATIC_INLINE void LL_DAC_Enable | ( | DAC_TypeDef * | DACx, |
| uint32_t | DAC_Channel | ||
| ) |
Enable DAC selected channel. CR EN1 LL_DAC_Enable
CR EN2 LL_DAC_Enable.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| None |
Definition at line 1458 of file stm32l4xx_ll_dac.h.
| __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:
|
| None |
Definition at line 1525 of file stm32l4xx_ll_dac.h.
| __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) CR EN1 LL_DAC_IsEnabled
CR EN2 LL_DAC_IsEnabled.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| State | of bit (1 or 0). |
Definition at line 1497 of file stm32l4xx_ll_dac.h.
| __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) CR TEN1 LL_DAC_IsTriggerEnabled
CR TEN2 LL_DAC_IsTriggerEnabled.
| DACx | DAC instance |
| DAC_Channel | This parameter can be one of the following values:
|
| State | of bit (1 or 0). |
Definition at line 1564 of file stm32l4xx_ll_dac.h.
| __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:
|
| Value | between Min_Data=0x000 and Max_Data=0xFFF |
Definition at line 1753 of file stm32l4xx_ll_dac.h.
| __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:
|
| None |
Definition at line 1595 of file stm32l4xx_ll_dac.h.