|
STM32F439xx HAL User Manual
|
Defines | |
| #define | __HAL_DAC_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_DAC_STATE_RESET) |
| Reset DAC handle state. | |
| #define | __HAL_DAC_ENABLE(__HANDLE__, __DAC_Channel__) ((__HANDLE__)->Instance->CR |= (DAC_CR_EN1 << (__DAC_Channel__))) |
| Enable the DAC channel. | |
| #define | __HAL_DAC_DISABLE(__HANDLE__, __DAC_Channel__) ((__HANDLE__)->Instance->CR &= ~(DAC_CR_EN1 << (__DAC_Channel__))) |
| Disable the DAC channel. | |
| #define | __HAL_DAC_ENABLE_IT(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->CR) |= (__INTERRUPT__)) |
| Enable the DAC interrupt. | |
| #define | __HAL_DAC_DISABLE_IT(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->CR) &= ~(__INTERRUPT__)) |
| Disable the DAC interrupt. | |
| #define | __HAL_DAC_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->CR & (__INTERRUPT__)) == (__INTERRUPT__)) |
| Checks if the specified DAC interrupt source is enabled or disabled. | |
| #define | __HAL_DAC_GET_FLAG(__HANDLE__, __FLAG__) ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__)) |
| Get the selected DAC's flag status. | |
| #define | __HAL_DAC_CLEAR_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR) = (__FLAG__)) |
| Clear the DAC's flag. | |
| #define __HAL_DAC_CLEAR_FLAG | ( | __HANDLE__, | |
| __FLAG__ | |||
| ) | (((__HANDLE__)->Instance->SR) = (__FLAG__)) |
Clear the DAC's flag.
| __HANDLE__ | specifies the DAC handle. |
| __FLAG__ | specifies the flag to clear. This parameter can be any combination of the following values:
|
| None |
Definition at line 263 of file stm32f4xx_hal_dac.h.
Referenced by HAL_DAC_IRQHandler().
| #define __HAL_DAC_DISABLE | ( | __HANDLE__, | |
| __DAC_Channel__ | |||
| ) | ((__HANDLE__)->Instance->CR &= ~(DAC_CR_EN1 << (__DAC_Channel__))) |
Disable the DAC channel.
| __HANDLE__ | specifies the DAC handle |
| __DAC_Channel__ | specifies the DAC channel. |
| None |
Definition at line 219 of file stm32f4xx_hal_dac.h.
Referenced by HAL_DAC_Stop(), and HAL_DAC_Stop_DMA().
| #define __HAL_DAC_DISABLE_IT | ( | __HANDLE__, | |
| __INTERRUPT__ | |||
| ) | (((__HANDLE__)->Instance->CR) &= ~(__INTERRUPT__)) |
Disable the DAC interrupt.
| __HANDLE__ | specifies the DAC handle |
| __INTERRUPT__ | specifies the DAC interrupt. |
| None |
Definition at line 233 of file stm32f4xx_hal_dac.h.
| #define __HAL_DAC_ENABLE | ( | __HANDLE__, | |
| __DAC_Channel__ | |||
| ) | ((__HANDLE__)->Instance->CR |= (DAC_CR_EN1 << (__DAC_Channel__))) |
Enable the DAC channel.
| __HANDLE__ | specifies the DAC handle. |
| __DAC_Channel__ | specifies the DAC channel |
| None |
Definition at line 212 of file stm32f4xx_hal_dac.h.
Referenced by HAL_DAC_Start(), and HAL_DAC_Start_DMA().
| #define __HAL_DAC_ENABLE_IT | ( | __HANDLE__, | |
| __INTERRUPT__ | |||
| ) | (((__HANDLE__)->Instance->CR) |= (__INTERRUPT__)) |
Enable the DAC interrupt.
| __HANDLE__ | specifies the DAC handle |
| __INTERRUPT__ | specifies the DAC interrupt. |
| None |
Definition at line 226 of file stm32f4xx_hal_dac.h.
Referenced by HAL_DAC_Start_DMA().
| #define __HAL_DAC_GET_FLAG | ( | __HANDLE__, | |
| __FLAG__ | |||
| ) | ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__)) |
Get the selected DAC's flag status.
| __HANDLE__ | specifies the DAC handle. |
| __FLAG__ | specifies the flag to clear. This parameter can be any combination of the following values:
|
| None |
Definition at line 253 of file stm32f4xx_hal_dac.h.
Referenced by HAL_DAC_IRQHandler().
| #define __HAL_DAC_GET_IT_SOURCE | ( | __HANDLE__, | |
| __INTERRUPT__ | |||
| ) | (((__HANDLE__)->Instance->CR & (__INTERRUPT__)) == (__INTERRUPT__)) |
Checks if the specified DAC interrupt source is enabled or disabled.
| __HANDLE__ | DAC handle |
| __INTERRUPT__ | DAC interrupt source to check This parameter can be any combination of the following values:
|
| State | of interruption (SET or RESET) |
Definition at line 243 of file stm32f4xx_hal_dac.h.
| #define __HAL_DAC_RESET_HANDLE_STATE | ( | __HANDLE__ | ) | ((__HANDLE__)->State = HAL_DAC_STATE_RESET) |
Reset DAC handle state.
| __HANDLE__ | specifies the DAC handle. |
| None |
Definition at line 205 of file stm32f4xx_hal_dac.h.
1.7.6.1