STM32L486xx HAL User Manual
Defines
DFSDM Private Macros
DFSDM

Defines

#define IS_DFSDM_CHANNEL_OUTPUT_CLOCK(CLOCK)
#define IS_DFSDM_CHANNEL_OUTPUT_CLOCK_DIVIDER(DIVIDER)   ((2U <= (DIVIDER)) && ((DIVIDER) <= 256U))
#define IS_DFSDM_CHANNEL_INPUT(INPUT)
#define IS_DFSDM_CHANNEL_DATA_PACKING(MODE)
#define IS_DFSDM_CHANNEL_INPUT_PINS(PINS)
#define IS_DFSDM_CHANNEL_SERIAL_INTERFACE_TYPE(MODE)
#define IS_DFSDM_CHANNEL_SPI_CLOCK(TYPE)
#define IS_DFSDM_CHANNEL_FILTER_ORDER(ORDER)
#define IS_DFSDM_CHANNEL_FILTER_OVS_RATIO(RATIO)   ((1U <= (RATIO)) && ((RATIO) <= 32U))
#define IS_DFSDM_CHANNEL_OFFSET(VALUE)   ((-8388608 <= (VALUE)) && ((VALUE) <= 8388607))
#define IS_DFSDM_CHANNEL_RIGHT_BIT_SHIFT(VALUE)   ((VALUE) <= 0x1FU)
#define IS_DFSDM_CHANNEL_SCD_THRESHOLD(VALUE)   ((VALUE) <= 0xFFU)
#define IS_DFSDM_FILTER_REG_TRIGGER(TRIG)
#define IS_DFSDM_FILTER_INJ_TRIGGER(TRIG)
#define IS_DFSDM_FILTER_EXT_TRIG(TRIG)
#define IS_DFSDM_FILTER_EXT_TRIG_EDGE(EDGE)
#define IS_DFSDM_FILTER_SINC_ORDER(ORDER)
#define IS_DFSDM_FILTER_OVS_RATIO(RATIO)   ((1U <= (RATIO)) && ((RATIO) <= 1024U))
#define IS_DFSDM_FILTER_INTEGRATOR_OVS_RATIO(RATIO)   ((1U <= (RATIO)) && ((RATIO) <= 256U))
#define IS_DFSDM_FILTER_AWD_DATA_SOURCE(DATA)
#define IS_DFSDM_FILTER_AWD_THRESHOLD(VALUE)   ((-8388608 <= (VALUE)) && ((VALUE) <= 8388607))
#define IS_DFSDM_BREAK_SIGNALS(VALUE)   ((VALUE) <= 0xFU)
#define IS_DFSDM_REGULAR_CHANNEL(CHANNEL)
#define IS_DFSDM_INJECTED_CHANNEL(CHANNEL)   (((CHANNEL) != 0U) && ((CHANNEL) <= 0x000F00FFU))
#define IS_DFSDM_CONTINUOUS_MODE(MODE)

Define Documentation

#define IS_DFSDM_BREAK_SIGNALS (   VALUE)    ((VALUE) <= 0xFU)
#define IS_DFSDM_CHANNEL_DATA_PACKING (   MODE)
Value:

Definition at line 778 of file stm32l4xx_hal_dfsdm.h.

Referenced by HAL_DFSDM_ChannelInit().

#define IS_DFSDM_CHANNEL_FILTER_ORDER (   ORDER)
Value:
(((ORDER) == DFSDM_CHANNEL_FASTSINC_ORDER) || \
                                                       ((ORDER) == DFSDM_CHANNEL_SINC1_ORDER) || \
                                                       ((ORDER) == DFSDM_CHANNEL_SINC2_ORDER) || \
                                                       ((ORDER) == DFSDM_CHANNEL_SINC3_ORDER))

Definition at line 791 of file stm32l4xx_hal_dfsdm.h.

Referenced by HAL_DFSDM_ChannelInit().

#define IS_DFSDM_CHANNEL_FILTER_OVS_RATIO (   RATIO)    ((1U <= (RATIO)) && ((RATIO) <= 32U))

Definition at line 795 of file stm32l4xx_hal_dfsdm.h.

Referenced by HAL_DFSDM_ChannelInit().

#define IS_DFSDM_CHANNEL_INPUT (   INPUT)
Value:

Definition at line 773 of file stm32l4xx_hal_dfsdm.h.

Referenced by HAL_DFSDM_ChannelInit().

#define IS_DFSDM_CHANNEL_INPUT_PINS (   PINS)
Value:

Definition at line 781 of file stm32l4xx_hal_dfsdm.h.

Referenced by HAL_DFSDM_ChannelInit().

#define IS_DFSDM_CHANNEL_OFFSET (   VALUE)    ((-8388608 <= (VALUE)) && ((VALUE) <= 8388607))

Definition at line 796 of file stm32l4xx_hal_dfsdm.h.

Referenced by HAL_DFSDM_ChannelInit(), and HAL_DFSDM_ChannelModifyOffset().

#define IS_DFSDM_CHANNEL_OUTPUT_CLOCK (   CLOCK)
Value:

Definition at line 763 of file stm32l4xx_hal_dfsdm.h.

Referenced by HAL_DFSDM_ChannelInit().

#define IS_DFSDM_CHANNEL_OUTPUT_CLOCK_DIVIDER (   DIVIDER)    ((2U <= (DIVIDER)) && ((DIVIDER) <= 256U))

Definition at line 765 of file stm32l4xx_hal_dfsdm.h.

Referenced by HAL_DFSDM_ChannelInit().

#define IS_DFSDM_CHANNEL_RIGHT_BIT_SHIFT (   VALUE)    ((VALUE) <= 0x1FU)

Definition at line 797 of file stm32l4xx_hal_dfsdm.h.

Referenced by HAL_DFSDM_ChannelInit().

#define IS_DFSDM_CHANNEL_SCD_THRESHOLD (   VALUE)    ((VALUE) <= 0xFFU)
Value:

Definition at line 783 of file stm32l4xx_hal_dfsdm.h.

Referenced by HAL_DFSDM_ChannelInit().

#define IS_DFSDM_CHANNEL_SPI_CLOCK (   TYPE)
#define IS_DFSDM_CONTINUOUS_MODE (   MODE)
Value:
(((MODE) == DFSDM_CONTINUOUS_CONV_OFF)  || \
                                                       ((MODE) == DFSDM_CONTINUOUS_CONV_ON))

Definition at line 870 of file stm32l4xx_hal_dfsdm.h.

Referenced by HAL_DFSDM_FilterConfigRegChannel().

#define IS_DFSDM_FILTER_AWD_DATA_SOURCE (   DATA)
Value:

Definition at line 849 of file stm32l4xx_hal_dfsdm.h.

Referenced by HAL_DFSDM_FilterAwdStart_IT().

#define IS_DFSDM_FILTER_AWD_THRESHOLD (   VALUE)    ((-8388608 <= (VALUE)) && ((VALUE) <= 8388607))

Definition at line 851 of file stm32l4xx_hal_dfsdm.h.

Referenced by HAL_DFSDM_FilterAwdStart_IT().

#define IS_DFSDM_FILTER_EXT_TRIG (   TRIG)
#define IS_DFSDM_FILTER_EXT_TRIG_EDGE (   EDGE)
Value:

Definition at line 838 of file stm32l4xx_hal_dfsdm.h.

Referenced by HAL_DFSDM_FilterInit().

#define IS_DFSDM_FILTER_INJ_TRIGGER (   TRIG)
Value:
(((TRIG) == DFSDM_FILTER_SW_TRIGGER) || \
                                                       ((TRIG) == DFSDM_FILTER_SYNC_TRIGGER) || \
                                                       ((TRIG) == DFSDM_FILTER_EXT_TRIGGER))

Definition at line 801 of file stm32l4xx_hal_dfsdm.h.

Referenced by HAL_DFSDM_FilterInit().

#define IS_DFSDM_FILTER_INTEGRATOR_OVS_RATIO (   RATIO)    ((1U <= (RATIO)) && ((RATIO) <= 256U))

Definition at line 848 of file stm32l4xx_hal_dfsdm.h.

Referenced by HAL_DFSDM_FilterInit().

#define IS_DFSDM_FILTER_OVS_RATIO (   RATIO)    ((1U <= (RATIO)) && ((RATIO) <= 1024U))

Definition at line 847 of file stm32l4xx_hal_dfsdm.h.

Referenced by HAL_DFSDM_FilterInit().

#define IS_DFSDM_FILTER_REG_TRIGGER (   TRIG)
Value:
(((TRIG) == DFSDM_FILTER_SW_TRIGGER) || \
                                                       ((TRIG) == DFSDM_FILTER_SYNC_TRIGGER))

Definition at line 799 of file stm32l4xx_hal_dfsdm.h.

Referenced by HAL_DFSDM_FilterInit().

#define IS_DFSDM_FILTER_SINC_ORDER (   ORDER)
Value:
(((ORDER) == DFSDM_FILTER_FASTSINC_ORDER) || \
                                                       ((ORDER) == DFSDM_FILTER_SINC1_ORDER) || \
                                                       ((ORDER) == DFSDM_FILTER_SINC2_ORDER) || \
                                                       ((ORDER) == DFSDM_FILTER_SINC3_ORDER) || \
                                                       ((ORDER) == DFSDM_FILTER_SINC4_ORDER) || \
                                                       ((ORDER) == DFSDM_FILTER_SINC5_ORDER))

Definition at line 841 of file stm32l4xx_hal_dfsdm.h.

Referenced by HAL_DFSDM_FilterInit().

#define IS_DFSDM_INJECTED_CHANNEL (   CHANNEL)    (((CHANNEL) != 0U) && ((CHANNEL) <= 0x000F00FFU))
#define IS_DFSDM_REGULAR_CHANNEL (   CHANNEL)
Value:
(((CHANNEL) == DFSDM_CHANNEL_0)  || \
                                                       ((CHANNEL) == DFSDM_CHANNEL_1)  || \
                                                       ((CHANNEL) == DFSDM_CHANNEL_2)  || \
                                                       ((CHANNEL) == DFSDM_CHANNEL_3)  || \
                                                       ((CHANNEL) == DFSDM_CHANNEL_4)  || \
                                                       ((CHANNEL) == DFSDM_CHANNEL_5)  || \
                                                       ((CHANNEL) == DFSDM_CHANNEL_6)  || \
                                                       ((CHANNEL) == DFSDM_CHANNEL_7))

Definition at line 860 of file stm32l4xx_hal_dfsdm.h.

Referenced by HAL_DFSDM_FilterConfigRegChannel().