STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
DAC Private Macros
Collaboration diagram for DAC Private Macros:

Macros

#define IS_DAC_OUTPUT_BUFFER_STATE(STATE)
 
#define IS_DAC_CHANNEL(CHANNEL)
 
#define IS_DAC_ALIGN(ALIGN)
 
#define IS_DAC_DATA(DATA)
 

Detailed Description

Macro Definition Documentation

◆ IS_DAC_OUTPUT_BUFFER_STATE

#define IS_DAC_OUTPUT_BUFFER_STATE ( STATE)

#include <stm32f4xx_hal_dac.h>

Value:
(((STATE) == DAC_OUTPUTBUFFER_ENABLE) || \
#define DAC_OUTPUTBUFFER_DISABLE
#define DAC_OUTPUTBUFFER_ENABLE

Definition at line 359 of file stm32f4xx_hal_dac.h.

Referenced by HAL_DAC_ConfigChannel().

◆ IS_DAC_CHANNEL

◆ IS_DAC_ALIGN

#define IS_DAC_ALIGN ( ALIGN)

#include <stm32f4xx_hal_dac.h>

Value:
(((ALIGN) == DAC_ALIGN_12B_R) || \
((ALIGN) == DAC_ALIGN_12B_L) || \
((ALIGN) == DAC_ALIGN_8B_R))
#define DAC_ALIGN_12B_R
#define DAC_ALIGN_8B_R
#define DAC_ALIGN_12B_L

Definition at line 369 of file stm32f4xx_hal_dac.h.

Referenced by HAL_DAC_SetValue(), and HAL_DAC_Start_DMA().

◆ IS_DAC_DATA

#define IS_DAC_DATA ( DATA)

#include <stm32f4xx_hal_dac.h>

Value:
((DATA) <= 0xFFF0UL)

Definition at line 373 of file stm32f4xx_hal_dac.h.

Referenced by HAL_DAC_SetValue().