![]() |
STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
|
Macros | |
#define | __HAL_DAC_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_DAC_STATE_RESET) |
Reset DAC handle state. More... | |
#define | __HAL_DAC_ENABLE(__HANDLE__, __DAC_CHANNEL__) ((__HANDLE__)->Instance->CR |= (DAC_CR_EN1 << (__DAC_CHANNEL__))) |
Enable the DAC channel. More... | |
#define | __HAL_DAC_DISABLE(__HANDLE__, __DAC_CHANNEL__) ((__HANDLE__)->Instance->CR &= ~(DAC_CR_EN1 << (__DAC_CHANNEL__))) |
Disable the DAC channel. More... | |
#define | __HAL_DAC_ENABLE_IT(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->CR) |= (__INTERRUPT__)) |
Enable the DAC interrupt. More... | |
#define | __HAL_DAC_DISABLE_IT(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->CR) &= ~(__INTERRUPT__)) |
Disable the DAC interrupt. More... | |
#define | __HAL_DAC_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->CR & (__INTERRUPT__)) == (__INTERRUPT__)) |
Checks if the specified DAC interrupt source is enabled or disabled. More... | |
#define | __HAL_DAC_GET_FLAG(__HANDLE__, __FLAG__) ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__)) |
Get the selected DAC's flag status. More... | |
#define | __HAL_DAC_CLEAR_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR) = (__FLAG__)) |
Clear the DAC's flag. More... | |
#define __HAL_DAC_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | (((__HANDLE__)->Instance->SR) = (__FLAG__)) |
Clear the DAC's flag.
<strong>HANDLE</strong> | specifies the DAC handle. |
<strong>FLAG</strong> | specifies the flag to clear. This parameter can be any combination of the following values:
|
None |
Definition at line 264 of file stm32f7xx_hal_dac.h.
#define __HAL_DAC_DISABLE | ( | __HANDLE__, | |
__DAC_CHANNEL__ | |||
) | ((__HANDLE__)->Instance->CR &= ~(DAC_CR_EN1 << (__DAC_CHANNEL__))) |
Disable the DAC channel.
<strong>HANDLE</strong> | specifies the DAC handle |
<strong>DAC_CHANNEL</strong> | specifies the DAC channel. |
None |
Definition at line 218 of file stm32f7xx_hal_dac.h.
#define __HAL_DAC_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | (((__HANDLE__)->Instance->CR) &= ~(__INTERRUPT__)) |
Disable the DAC interrupt.
<strong>HANDLE</strong> | specifies the DAC handle |
<strong>INTERRUPT</strong> | specifies the DAC interrupt. |
None |
Definition at line 234 of file stm32f7xx_hal_dac.h.
#define __HAL_DAC_ENABLE | ( | __HANDLE__, | |
__DAC_CHANNEL__ | |||
) | ((__HANDLE__)->Instance->CR |= (DAC_CR_EN1 << (__DAC_CHANNEL__))) |
Enable the DAC channel.
<strong>HANDLE</strong> | specifies the DAC handle. |
<strong>DAC_CHANNEL</strong> | specifies the DAC channel |
None |
Definition at line 210 of file stm32f7xx_hal_dac.h.
#define __HAL_DAC_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | (((__HANDLE__)->Instance->CR) |= (__INTERRUPT__)) |
Enable the DAC interrupt.
<strong>HANDLE</strong> | specifies the DAC handle |
<strong>INTERRUPT</strong> | specifies the DAC interrupt. |
None |
Definition at line 227 of file stm32f7xx_hal_dac.h.
#define __HAL_DAC_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__)) |
Get the selected DAC's flag status.
<strong>HANDLE</strong> | specifies the DAC handle. |
<strong>FLAG</strong> | specifies the flag to clear. This parameter can be any combination of the following values:
|
None |
Definition at line 254 of file stm32f7xx_hal_dac.h.
#define __HAL_DAC_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | (((__HANDLE__)->Instance->CR & (__INTERRUPT__)) == (__INTERRUPT__)) |
Checks if the specified DAC interrupt source is enabled or disabled.
<strong>HANDLE</strong> | DAC handle |
<strong>INTERRUPT</strong> | DAC interrupt source to check This parameter can be any combination of the following values:
|
State | of interruption (SET or RESET) |
Definition at line 244 of file stm32f7xx_hal_dac.h.
#define __HAL_DAC_RESET_HANDLE_STATE | ( | __HANDLE__ | ) | ((__HANDLE__)->State = HAL_DAC_STATE_RESET) |
Reset DAC handle state.
<strong>HANDLE</strong> | specifies the DAC handle. |
None |
Definition at line 203 of file stm32f7xx_hal_dac.h.