STM32H735xx 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: |
Data | Value between Min_Data=0x000 and Max_Data=0xFFF |
None |
Definition at line 1509 of file stm32h7xx_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_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: |
Data | Value between Min_Data=0x000 and Max_Data=0xFFF |
None |
Definition at line 1488 of file stm32h7xx_ll_dac.h.
References DAC_SWTR_CHX_MASK.
__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: |
Data | Value between Min_Data=0x00 and Max_Data=0xFF |
None |
Definition at line 1530 of file stm32h7xx_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_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 1569 of file stm32h7xx_ll_dac.h.
References DAC_DHR12RD_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 1550 of file stm32h7xx_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_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 1591 of file stm32h7xx_ll_dac.h.
References DAC_DHR12LD_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: |
None |
Definition at line 1366 of file stm32h7xx_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: |
None |
Definition at line 1424 of file stm32h7xx_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: |
None |
Definition at line 1350 of file stm32h7xx_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 1408 of file stm32h7xx_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: |
State | of bit (1 or 0). |
Definition at line 1383 of file stm32h7xx_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: |
State | of bit (1 or 0). |
Definition at line 1441 of file stm32h7xx_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: |
Value | between Min_Data=0x000 and Max_Data=0xFFF |
Definition at line 1614 of file stm32h7xx_ll_dac.h.
References DAC_DHR8RD_DACC2DHR_BITOFFSET_POS.
__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 1469 of file stm32h7xx_ll_dac.h.