RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Macros

Macros

#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)
 

Detailed Description

Macro Definition Documentation

◆ IS_DFSDM_CHANNEL_DATA_PACKING

#define IS_DFSDM_CHANNEL_DATA_PACKING (   MODE)
Value:
(((MODE) == DFSDM_CHANNEL_STANDARD_MODE) || \
#define DFSDM_CHANNEL_DUAL_MODE
Definition: stm32h7xx_hal_dfsdm.h:330
#define DFSDM_CHANNEL_STANDARD_MODE
Definition: stm32h7xx_hal_dfsdm.h:328
#define DFSDM_CHANNEL_INTERLEAVED_MODE
Definition: stm32h7xx_hal_dfsdm.h:329

◆ IS_DFSDM_CHANNEL_FILTER_ORDER

#define IS_DFSDM_CHANNEL_FILTER_ORDER (   ORDER)
Value:
(((ORDER) == DFSDM_CHANNEL_FASTSINC_ORDER) || \
((ORDER) == DFSDM_CHANNEL_SINC1_ORDER) || \
((ORDER) == DFSDM_CHANNEL_SINC2_ORDER) || \
#define DFSDM_CHANNEL_SINC3_ORDER
Definition: stm32h7xx_hal_dfsdm.h:376
#define DFSDM_CHANNEL_SINC1_ORDER
Definition: stm32h7xx_hal_dfsdm.h:374
#define DFSDM_CHANNEL_FASTSINC_ORDER
Definition: stm32h7xx_hal_dfsdm.h:373
#define DFSDM_CHANNEL_SINC2_ORDER
Definition: stm32h7xx_hal_dfsdm.h:375

◆ IS_DFSDM_CHANNEL_INPUT

#define IS_DFSDM_CHANNEL_INPUT (   INPUT)
Value:
(((INPUT) == DFSDM_CHANNEL_EXTERNAL_INPUTS) || \
((INPUT) == DFSDM_CHANNEL_ADC_OUTPUT) || \
#define DFSDM_CHANNEL_INTERNAL_REGISTER
Definition: stm32h7xx_hal_dfsdm.h:319
#define DFSDM_CHANNEL_ADC_OUTPUT
Definition: stm32h7xx_hal_dfsdm.h:318
#define DFSDM_CHANNEL_EXTERNAL_INPUTS
Definition: stm32h7xx_hal_dfsdm.h:317

◆ IS_DFSDM_CHANNEL_INPUT_PINS

#define IS_DFSDM_CHANNEL_INPUT_PINS (   PINS)
Value:
#define DFSDM_CHANNEL_FOLLOWING_CHANNEL_PINS
Definition: stm32h7xx_hal_dfsdm.h:340
#define DFSDM_CHANNEL_SAME_CHANNEL_PINS
Definition: stm32h7xx_hal_dfsdm.h:339

◆ IS_DFSDM_CHANNEL_OUTPUT_CLOCK

#define IS_DFSDM_CHANNEL_OUTPUT_CLOCK (   CLOCK)
Value:
#define DFSDM_CHANNEL_OUTPUT_CLOCK_SYSTEM
Definition: stm32h7xx_hal_dfsdm.h:307
#define DFSDM_CHANNEL_OUTPUT_CLOCK_AUDIO
Definition: stm32h7xx_hal_dfsdm.h:308

◆ IS_DFSDM_CHANNEL_SERIAL_INTERFACE_TYPE

#define IS_DFSDM_CHANNEL_SERIAL_INTERFACE_TYPE (   MODE)
Value:
(((MODE) == DFSDM_CHANNEL_SPI_RISING) || \
((MODE) == DFSDM_CHANNEL_SPI_FALLING) || \
#define DFSDM_CHANNEL_MANCHESTER_RISING
Definition: stm32h7xx_hal_dfsdm.h:351
#define DFSDM_CHANNEL_SPI_FALLING
Definition: stm32h7xx_hal_dfsdm.h:350
#define DFSDM_CHANNEL_SPI_RISING
Definition: stm32h7xx_hal_dfsdm.h:349
#define DFSDM_CHANNEL_MANCHESTER_FALLING
Definition: stm32h7xx_hal_dfsdm.h:352

◆ IS_DFSDM_CHANNEL_SPI_CLOCK

#define IS_DFSDM_CHANNEL_SPI_CLOCK (   TYPE)
Value:
#define DFSDM_CHANNEL_SPI_CLOCK_EXTERNAL
Definition: stm32h7xx_hal_dfsdm.h:361
#define DFSDM_CHANNEL_SPI_CLOCK_INTERNAL_DIV2_FALLING
Definition: stm32h7xx_hal_dfsdm.h:363
#define DFSDM_CHANNEL_SPI_CLOCK_INTERNAL_DIV2_RISING
Definition: stm32h7xx_hal_dfsdm.h:364
#define DFSDM_CHANNEL_SPI_CLOCK_INTERNAL
Definition: stm32h7xx_hal_dfsdm.h:362

◆ IS_DFSDM_CONTINUOUS_MODE

#define IS_DFSDM_CONTINUOUS_MODE (   MODE)
Value:
(((MODE) == DFSDM_CONTINUOUS_CONV_OFF) || \
#define DFSDM_CONTINUOUS_CONV_OFF
Definition: stm32h7xx_hal_dfsdm.h:517
#define DFSDM_CONTINUOUS_CONV_ON
Definition: stm32h7xx_hal_dfsdm.h:518

◆ IS_DFSDM_FILTER_AWD_DATA_SOURCE

#define IS_DFSDM_FILTER_AWD_DATA_SOURCE (   DATA)
Value:
(((DATA) == DFSDM_FILTER_AWD_FILTER_DATA) || \
#define DFSDM_FILTER_AWD_FILTER_DATA
Definition: stm32h7xx_hal_dfsdm.h:455
#define DFSDM_FILTER_AWD_CHANNEL_DATA
Definition: stm32h7xx_hal_dfsdm.h:456

◆ IS_DFSDM_FILTER_EXT_TRIG

#define IS_DFSDM_FILTER_EXT_TRIG (   TRIG)
Value:
((TRIG) == DFSDM_FILTER_EXT_TRIG_HRTIM1_ADCTRG1) || \
((TRIG) == DFSDM_FILTER_EXT_TRIG_HRTIM1_ADCTRG3) || \
#define DFSDM_FILTER_EXT_TRIG_TIM3_TRGO
Definition: stm32h7xx_hal_dfsdm.h:400
#define DFSDM_FILTER_EXT_TRIG_LPTIM3_OUT
Definition: stm32h7xx_hal_dfsdm.h:411
#define DFSDM_FILTER_EXT_TRIG_TIM1_TRGO2
Definition: stm32h7xx_hal_dfsdm.h:397
#define DFSDM_FILTER_EXT_TRIG_TIM4_TRGO
Definition: stm32h7xx_hal_dfsdm.h:401
#define DFSDM_FILTER_EXT_TRIG_LPTIM2_OUT
Definition: stm32h7xx_hal_dfsdm.h:410
#define DFSDM_FILTER_EXT_TRIG_TIM7_TRGO
Definition: stm32h7xx_hal_dfsdm.h:404
#define DFSDM_FILTER_EXT_TRIG_TIM6_TRGO
Definition: stm32h7xx_hal_dfsdm.h:403
#define DFSDM_FILTER_EXT_TRIG_EXTI15
Definition: stm32h7xx_hal_dfsdm.h:408
#define DFSDM_FILTER_EXT_TRIG_EXTI11
Definition: stm32h7xx_hal_dfsdm.h:407
#define DFSDM_FILTER_EXT_TRIG_TIM16_OC1
Definition: stm32h7xx_hal_dfsdm.h:402
#define DFSDM_FILTER_EXT_TRIG_LPTIM1_OUT
Definition: stm32h7xx_hal_dfsdm.h:409
#define DFSDM_FILTER_EXT_TRIG_TIM8_TRGO
Definition: stm32h7xx_hal_dfsdm.h:398
#define DFSDM_FILTER_EXT_TRIG_TIM8_TRGO2
Definition: stm32h7xx_hal_dfsdm.h:399
#define DFSDM_FILTER_EXT_TRIG_TIM1_TRGO
Definition: stm32h7xx_hal_dfsdm.h:396

◆ IS_DFSDM_FILTER_EXT_TRIG_EDGE

#define IS_DFSDM_FILTER_EXT_TRIG_EDGE (   EDGE)
Value:
#define DFSDM_FILTER_EXT_TRIG_FALLING_EDGE
Definition: stm32h7xx_hal_dfsdm.h:431
#define DFSDM_FILTER_EXT_TRIG_RISING_EDGE
Definition: stm32h7xx_hal_dfsdm.h:430
#define DFSDM_FILTER_EXT_TRIG_BOTH_EDGES
Definition: stm32h7xx_hal_dfsdm.h:432

◆ IS_DFSDM_FILTER_INJ_TRIGGER

#define IS_DFSDM_FILTER_INJ_TRIGGER (   TRIG)
Value:
(((TRIG) == DFSDM_FILTER_SW_TRIGGER) || \
((TRIG) == DFSDM_FILTER_SYNC_TRIGGER) || \
#define DFSDM_FILTER_EXT_TRIGGER
Definition: stm32h7xx_hal_dfsdm.h:387
#define DFSDM_FILTER_SYNC_TRIGGER
Definition: stm32h7xx_hal_dfsdm.h:386
#define DFSDM_FILTER_SW_TRIGGER
Definition: stm32h7xx_hal_dfsdm.h:385

◆ IS_DFSDM_FILTER_REG_TRIGGER

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

◆ IS_DFSDM_FILTER_SINC_ORDER

#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) || \
#define DFSDM_FILTER_SINC3_ORDER
Definition: stm32h7xx_hal_dfsdm.h:444
#define DFSDM_FILTER_FASTSINC_ORDER
Definition: stm32h7xx_hal_dfsdm.h:441
#define DFSDM_FILTER_SINC4_ORDER
Definition: stm32h7xx_hal_dfsdm.h:445
#define DFSDM_FILTER_SINC1_ORDER
Definition: stm32h7xx_hal_dfsdm.h:442
#define DFSDM_FILTER_SINC2_ORDER
Definition: stm32h7xx_hal_dfsdm.h:443
#define DFSDM_FILTER_SINC5_ORDER
Definition: stm32h7xx_hal_dfsdm.h:446

◆ IS_DFSDM_REGULAR_CHANNEL

#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))