Macros
DFSDM Private Macros
Collaboration diagram for DFSDM Private Macros:

Macros

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

Detailed Description

Macro Definition Documentation

◆ IS_DFSDM_BREAK_SIGNALS

#define IS_DFSDM_BREAK_SIGNALS (   VALUE)    ((VALUE) <= 0xFU)

Definition at line 824 of file stm32h7xx_hal_dfsdm.h.

◆ IS_DFSDM_CHANNEL_DATA_PACKING

#define IS_DFSDM_CHANNEL_DATA_PACKING (   MODE)
Value:

Definition at line 731 of file stm32h7xx_hal_dfsdm.h.

◆ 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) || \

Definition at line 744 of file stm32h7xx_hal_dfsdm.h.

◆ IS_DFSDM_CHANNEL_FILTER_OVS_RATIO

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

Definition at line 748 of file stm32h7xx_hal_dfsdm.h.

◆ IS_DFSDM_CHANNEL_INPUT

#define IS_DFSDM_CHANNEL_INPUT (   INPUT)
Value:

Definition at line 728 of file stm32h7xx_hal_dfsdm.h.

◆ IS_DFSDM_CHANNEL_INPUT_PINS

#define IS_DFSDM_CHANNEL_INPUT_PINS (   PINS)
Value:

Definition at line 734 of file stm32h7xx_hal_dfsdm.h.

◆ IS_DFSDM_CHANNEL_OFFSET

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

Definition at line 749 of file stm32h7xx_hal_dfsdm.h.

◆ IS_DFSDM_CHANNEL_OUTPUT_CLOCK

#define IS_DFSDM_CHANNEL_OUTPUT_CLOCK (   CLOCK)
Value:

Definition at line 725 of file stm32h7xx_hal_dfsdm.h.

◆ IS_DFSDM_CHANNEL_OUTPUT_CLOCK_DIVIDER

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

Definition at line 727 of file stm32h7xx_hal_dfsdm.h.

◆ IS_DFSDM_CHANNEL_RIGHT_BIT_SHIFT

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

Definition at line 750 of file stm32h7xx_hal_dfsdm.h.

◆ IS_DFSDM_CHANNEL_SCD_THRESHOLD

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

Definition at line 751 of file stm32h7xx_hal_dfsdm.h.

◆ IS_DFSDM_CHANNEL_SERIAL_INTERFACE_TYPE

#define IS_DFSDM_CHANNEL_SERIAL_INTERFACE_TYPE (   MODE)
Value:

Definition at line 736 of file stm32h7xx_hal_dfsdm.h.

◆ IS_DFSDM_CHANNEL_SPI_CLOCK

#define IS_DFSDM_CHANNEL_SPI_CLOCK (   TYPE)

◆ IS_DFSDM_CONTINUOUS_MODE

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

Definition at line 834 of file stm32h7xx_hal_dfsdm.h.

◆ IS_DFSDM_FILTER_AWD_DATA_SOURCE

#define IS_DFSDM_FILTER_AWD_DATA_SOURCE (   DATA)
Value:

Definition at line 821 of file stm32h7xx_hal_dfsdm.h.

◆ IS_DFSDM_FILTER_AWD_THRESHOLD

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

Definition at line 823 of file stm32h7xx_hal_dfsdm.h.

◆ IS_DFSDM_FILTER_EXT_TRIG

#define IS_DFSDM_FILTER_EXT_TRIG (   TRIG)

◆ IS_DFSDM_FILTER_EXT_TRIG_EDGE

#define IS_DFSDM_FILTER_EXT_TRIG_EDGE (   EDGE)
Value:

Definition at line 810 of file stm32h7xx_hal_dfsdm.h.

◆ IS_DFSDM_FILTER_INJ_TRIGGER

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

Definition at line 754 of file stm32h7xx_hal_dfsdm.h.

◆ IS_DFSDM_FILTER_INTEGRATOR_OVS_RATIO

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

Definition at line 820 of file stm32h7xx_hal_dfsdm.h.

◆ IS_DFSDM_FILTER_OVS_RATIO

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

Definition at line 819 of file stm32h7xx_hal_dfsdm.h.

◆ IS_DFSDM_FILTER_REG_TRIGGER

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

Definition at line 752 of file stm32h7xx_hal_dfsdm.h.

◆ 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) || \

Definition at line 813 of file stm32h7xx_hal_dfsdm.h.

◆ IS_DFSDM_INJECTED_CHANNEL

#define IS_DFSDM_INJECTED_CHANNEL (   CHANNEL)    (((CHANNEL) != 0U) && ((CHANNEL) <= 0x000F00FFU))

Definition at line 833 of file stm32h7xx_hal_dfsdm.h.

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

Definition at line 825 of file stm32h7xx_hal_dfsdm.h.

DFSDM_FILTER_EXT_TRIG_HRTIM1_ADCTRG3
#define DFSDM_FILTER_EXT_TRIG_HRTIM1_ADCTRG3
Definition: stm32h7xx_hal_dfsdm.h:396
DFSDM_CHANNEL_DUAL_MODE
#define DFSDM_CHANNEL_DUAL_MODE
Definition: stm32h7xx_hal_dfsdm.h:326
DFSDM_FILTER_EXT_TRIG_EXTI11
#define DFSDM_FILTER_EXT_TRIG_EXTI11
Definition: stm32h7xx_hal_dfsdm.h:397
DFSDM_FILTER_EXT_TRIG_TIM7_TRGO
#define DFSDM_FILTER_EXT_TRIG_TIM7_TRGO
Definition: stm32h7xx_hal_dfsdm.h:394
DFSDM_CHANNEL_1
#define DFSDM_CHANNEL_1
Definition: stm32h7xx_hal_dfsdm.h:486
DFSDM_CHANNEL_EXTERNAL_INPUTS
#define DFSDM_CHANNEL_EXTERNAL_INPUTS
Definition: stm32h7xx_hal_dfsdm.h:314
DFSDM_CONTINUOUS_CONV_ON
#define DFSDM_CONTINUOUS_CONV_ON
Definition: stm32h7xx_hal_dfsdm.h:501
DFSDM_CHANNEL_MANCHESTER_FALLING
#define DFSDM_CHANNEL_MANCHESTER_FALLING
Definition: stm32h7xx_hal_dfsdm.h:346
DFSDM_CHANNEL_STANDARD_MODE
#define DFSDM_CHANNEL_STANDARD_MODE
Definition: stm32h7xx_hal_dfsdm.h:324
DFSDM_CHANNEL_ADC_OUTPUT
#define DFSDM_CHANNEL_ADC_OUTPUT
Definition: stm32h7xx_hal_dfsdm.h:315
DFSDM_CHANNEL_4
#define DFSDM_CHANNEL_4
Definition: stm32h7xx_hal_dfsdm.h:489
DFSDM_CHANNEL_SPI_CLOCK_EXTERNAL
#define DFSDM_CHANNEL_SPI_CLOCK_EXTERNAL
Definition: stm32h7xx_hal_dfsdm.h:354
DFSDM_CONTINUOUS_CONV_OFF
#define DFSDM_CONTINUOUS_CONV_OFF
Definition: stm32h7xx_hal_dfsdm.h:500
DFSDM_CHANNEL_SPI_RISING
#define DFSDM_CHANNEL_SPI_RISING
Definition: stm32h7xx_hal_dfsdm.h:343
DFSDM_FILTER_EXT_TRIG_BOTH_EDGES
#define DFSDM_FILTER_EXT_TRIG_BOTH_EDGES
Definition: stm32h7xx_hal_dfsdm.h:421
DFSDM_FILTER_EXT_TRIG_LPTIM2_OUT
#define DFSDM_FILTER_EXT_TRIG_LPTIM2_OUT
Definition: stm32h7xx_hal_dfsdm.h:400
DFSDM_CHANNEL_SPI_CLOCK_INTERNAL_DIV2_RISING
#define DFSDM_CHANNEL_SPI_CLOCK_INTERNAL_DIV2_RISING
Definition: stm32h7xx_hal_dfsdm.h:357
DFSDM_FILTER_EXT_TRIGGER
#define DFSDM_FILTER_EXT_TRIGGER
Definition: stm32h7xx_hal_dfsdm.h:378
DFSDM_FILTER_AWD_FILTER_DATA
#define DFSDM_FILTER_AWD_FILTER_DATA
Definition: stm32h7xx_hal_dfsdm.h:442
DFSDM_CHANNEL_SINC2_ORDER
#define DFSDM_CHANNEL_SINC2_ORDER
Definition: stm32h7xx_hal_dfsdm.h:367
DFSDM_CHANNEL_SAME_CHANNEL_PINS
#define DFSDM_CHANNEL_SAME_CHANNEL_PINS
Definition: stm32h7xx_hal_dfsdm.h:334
DFSDM_CHANNEL_SPI_FALLING
#define DFSDM_CHANNEL_SPI_FALLING
Definition: stm32h7xx_hal_dfsdm.h:344
DFSDM_CHANNEL_FASTSINC_ORDER
#define DFSDM_CHANNEL_FASTSINC_ORDER
Definition: stm32h7xx_hal_dfsdm.h:365
DFSDM_FILTER_SINC5_ORDER
#define DFSDM_FILTER_SINC5_ORDER
Definition: stm32h7xx_hal_dfsdm.h:434
DFSDM_FILTER_EXT_TRIG_FALLING_EDGE
#define DFSDM_FILTER_EXT_TRIG_FALLING_EDGE
Definition: stm32h7xx_hal_dfsdm.h:420
DFSDM_FILTER_EXT_TRIG_TIM6_TRGO
#define DFSDM_FILTER_EXT_TRIG_TIM6_TRGO
Definition: stm32h7xx_hal_dfsdm.h:393
DFSDM_CHANNEL_SPI_CLOCK_INTERNAL
#define DFSDM_CHANNEL_SPI_CLOCK_INTERNAL
Definition: stm32h7xx_hal_dfsdm.h:355
DFSDM_FILTER_SINC1_ORDER
#define DFSDM_FILTER_SINC1_ORDER
Definition: stm32h7xx_hal_dfsdm.h:430
DFSDM_FILTER_EXT_TRIG_TIM1_TRGO2
#define DFSDM_FILTER_EXT_TRIG_TIM1_TRGO2
Definition: stm32h7xx_hal_dfsdm.h:387
DFSDM_FILTER_EXT_TRIG_TIM16_OC1
#define DFSDM_FILTER_EXT_TRIG_TIM16_OC1
Definition: stm32h7xx_hal_dfsdm.h:392
DFSDM_CHANNEL_6
#define DFSDM_CHANNEL_6
Definition: stm32h7xx_hal_dfsdm.h:491
DFSDM_FILTER_EXT_TRIG_TIM8_TRGO2
#define DFSDM_FILTER_EXT_TRIG_TIM8_TRGO2
Definition: stm32h7xx_hal_dfsdm.h:389
DFSDM_CHANNEL_7
#define DFSDM_CHANNEL_7
Definition: stm32h7xx_hal_dfsdm.h:492
DFSDM_CHANNEL_INTERNAL_REGISTER
#define DFSDM_CHANNEL_INTERNAL_REGISTER
Definition: stm32h7xx_hal_dfsdm.h:316
DFSDM_FILTER_SINC2_ORDER
#define DFSDM_FILTER_SINC2_ORDER
Definition: stm32h7xx_hal_dfsdm.h:431
DFSDM_FILTER_EXT_TRIG_TIM8_TRGO
#define DFSDM_FILTER_EXT_TRIG_TIM8_TRGO
Definition: stm32h7xx_hal_dfsdm.h:388
DFSDM_FILTER_EXT_TRIG_LPTIM1_OUT
#define DFSDM_FILTER_EXT_TRIG_LPTIM1_OUT
Definition: stm32h7xx_hal_dfsdm.h:399
DFSDM_FILTER_EXT_TRIG_RISING_EDGE
#define DFSDM_FILTER_EXT_TRIG_RISING_EDGE
Definition: stm32h7xx_hal_dfsdm.h:419
DFSDM_FILTER_EXT_TRIG_EXTI15
#define DFSDM_FILTER_EXT_TRIG_EXTI15
Definition: stm32h7xx_hal_dfsdm.h:398
DFSDM_CHANNEL_5
#define DFSDM_CHANNEL_5
Definition: stm32h7xx_hal_dfsdm.h:490
DFSDM_FILTER_EXT_TRIG_HRTIM1_ADCTRG1
#define DFSDM_FILTER_EXT_TRIG_HRTIM1_ADCTRG1
Definition: stm32h7xx_hal_dfsdm.h:395
DFSDM_CHANNEL_INTERLEAVED_MODE
#define DFSDM_CHANNEL_INTERLEAVED_MODE
Definition: stm32h7xx_hal_dfsdm.h:325
DFSDM_CHANNEL_3
#define DFSDM_CHANNEL_3
Definition: stm32h7xx_hal_dfsdm.h:488
DFSDM_CHANNEL_MANCHESTER_RISING
#define DFSDM_CHANNEL_MANCHESTER_RISING
Definition: stm32h7xx_hal_dfsdm.h:345
DFSDM_FILTER_EXT_TRIG_TIM1_TRGO
#define DFSDM_FILTER_EXT_TRIG_TIM1_TRGO
Definition: stm32h7xx_hal_dfsdm.h:386
DFSDM_FILTER_SYNC_TRIGGER
#define DFSDM_FILTER_SYNC_TRIGGER
Definition: stm32h7xx_hal_dfsdm.h:377
DFSDM_FILTER_SW_TRIGGER
#define DFSDM_FILTER_SW_TRIGGER
Definition: stm32h7xx_hal_dfsdm.h:376
DFSDM_FILTER_EXT_TRIG_TIM3_TRGO
#define DFSDM_FILTER_EXT_TRIG_TIM3_TRGO
Definition: stm32h7xx_hal_dfsdm.h:390
DFSDM_FILTER_EXT_TRIG_LPTIM3_OUT
#define DFSDM_FILTER_EXT_TRIG_LPTIM3_OUT
Definition: stm32h7xx_hal_dfsdm.h:401
DFSDM_FILTER_EXT_TRIG_TIM4_TRGO
#define DFSDM_FILTER_EXT_TRIG_TIM4_TRGO
Definition: stm32h7xx_hal_dfsdm.h:391
DFSDM_FILTER_FASTSINC_ORDER
#define DFSDM_FILTER_FASTSINC_ORDER
Definition: stm32h7xx_hal_dfsdm.h:429
DFSDM_CHANNEL_SINC3_ORDER
#define DFSDM_CHANNEL_SINC3_ORDER
Definition: stm32h7xx_hal_dfsdm.h:368
DFSDM_CHANNEL_OUTPUT_CLOCK_SYSTEM
#define DFSDM_CHANNEL_OUTPUT_CLOCK_SYSTEM
Definition: stm32h7xx_hal_dfsdm.h:305
DFSDM_CHANNEL_SPI_CLOCK_INTERNAL_DIV2_FALLING
#define DFSDM_CHANNEL_SPI_CLOCK_INTERNAL_DIV2_FALLING
Definition: stm32h7xx_hal_dfsdm.h:356
DFSDM_CHANNEL_OUTPUT_CLOCK_AUDIO
#define DFSDM_CHANNEL_OUTPUT_CLOCK_AUDIO
Definition: stm32h7xx_hal_dfsdm.h:306
DFSDM_FILTER_AWD_CHANNEL_DATA
#define DFSDM_FILTER_AWD_CHANNEL_DATA
Definition: stm32h7xx_hal_dfsdm.h:443
DFSDM_CHANNEL_FOLLOWING_CHANNEL_PINS
#define DFSDM_CHANNEL_FOLLOWING_CHANNEL_PINS
Definition: stm32h7xx_hal_dfsdm.h:335
DFSDM_FILTER_SINC3_ORDER
#define DFSDM_FILTER_SINC3_ORDER
Definition: stm32h7xx_hal_dfsdm.h:432
DFSDM_CHANNEL_2
#define DFSDM_CHANNEL_2
Definition: stm32h7xx_hal_dfsdm.h:487
DFSDM_CHANNEL_0
#define DFSDM_CHANNEL_0
Definition: stm32h7xx_hal_dfsdm.h:485
DFSDM_FILTER_SINC4_ORDER
#define DFSDM_FILTER_SINC4_ORDER
Definition: stm32h7xx_hal_dfsdm.h:433
DFSDM_CHANNEL_SINC1_ORDER
#define DFSDM_CHANNEL_SINC1_ORDER
Definition: stm32h7xx_hal_dfsdm.h:366


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:08