STM32F4 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F4 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
DAC_lfsrunmask_triangleamplitude

Macros

#define DAC_LFSRUnmask_Bit0   ((uint32_t)0x00000000)
 
#define DAC_LFSRUnmask_Bits1_0   ((uint32_t)0x00000100)
 
#define DAC_LFSRUnmask_Bits2_0   ((uint32_t)0x00000200)
 
#define DAC_LFSRUnmask_Bits3_0   ((uint32_t)0x00000300)
 
#define DAC_LFSRUnmask_Bits4_0   ((uint32_t)0x00000400)
 
#define DAC_LFSRUnmask_Bits5_0   ((uint32_t)0x00000500)
 
#define DAC_LFSRUnmask_Bits6_0   ((uint32_t)0x00000600)
 
#define DAC_LFSRUnmask_Bits7_0   ((uint32_t)0x00000700)
 
#define DAC_LFSRUnmask_Bits8_0   ((uint32_t)0x00000800)
 
#define DAC_LFSRUnmask_Bits9_0   ((uint32_t)0x00000900)
 
#define DAC_LFSRUnmask_Bits10_0   ((uint32_t)0x00000A00)
 
#define DAC_LFSRUnmask_Bits11_0   ((uint32_t)0x00000B00)
 
#define DAC_TriangleAmplitude_1   ((uint32_t)0x00000000)
 
#define DAC_TriangleAmplitude_3   ((uint32_t)0x00000100)
 
#define DAC_TriangleAmplitude_7   ((uint32_t)0x00000200)
 
#define DAC_TriangleAmplitude_15   ((uint32_t)0x00000300)
 
#define DAC_TriangleAmplitude_31   ((uint32_t)0x00000400)
 
#define DAC_TriangleAmplitude_63   ((uint32_t)0x00000500)
 
#define DAC_TriangleAmplitude_127   ((uint32_t)0x00000600)
 
#define DAC_TriangleAmplitude_255   ((uint32_t)0x00000700)
 
#define DAC_TriangleAmplitude_511   ((uint32_t)0x00000800)
 
#define DAC_TriangleAmplitude_1023   ((uint32_t)0x00000900)
 
#define DAC_TriangleAmplitude_2047   ((uint32_t)0x00000A00)
 
#define DAC_TriangleAmplitude_4095   ((uint32_t)0x00000B00)
 
#define IS_DAC_LFSR_UNMASK_TRIANGLE_AMPLITUDE(VALUE)
 

Detailed Description

Macro Definition Documentation

#define DAC_LFSRUnmask_Bit0   ((uint32_t)0x00000000)

Unmask DAC channel LFSR bit0 for noise wave generation

#define DAC_LFSRUnmask_Bits10_0   ((uint32_t)0x00000A00)

Unmask DAC channel LFSR bit[10:0] for noise wave generation

#define DAC_LFSRUnmask_Bits11_0   ((uint32_t)0x00000B00)

Unmask DAC channel LFSR bit[11:0] for noise wave generation

#define DAC_LFSRUnmask_Bits1_0   ((uint32_t)0x00000100)

Unmask DAC channel LFSR bit[1:0] for noise wave generation

#define DAC_LFSRUnmask_Bits2_0   ((uint32_t)0x00000200)

Unmask DAC channel LFSR bit[2:0] for noise wave generation

#define DAC_LFSRUnmask_Bits3_0   ((uint32_t)0x00000300)

Unmask DAC channel LFSR bit[3:0] for noise wave generation

#define DAC_LFSRUnmask_Bits4_0   ((uint32_t)0x00000400)

Unmask DAC channel LFSR bit[4:0] for noise wave generation

#define DAC_LFSRUnmask_Bits5_0   ((uint32_t)0x00000500)

Unmask DAC channel LFSR bit[5:0] for noise wave generation

#define DAC_LFSRUnmask_Bits6_0   ((uint32_t)0x00000600)

Unmask DAC channel LFSR bit[6:0] for noise wave generation

#define DAC_LFSRUnmask_Bits7_0   ((uint32_t)0x00000700)

Unmask DAC channel LFSR bit[7:0] for noise wave generation

#define DAC_LFSRUnmask_Bits8_0   ((uint32_t)0x00000800)

Unmask DAC channel LFSR bit[8:0] for noise wave generation

#define DAC_LFSRUnmask_Bits9_0   ((uint32_t)0x00000900)

Unmask DAC channel LFSR bit[9:0] for noise wave generation

#define DAC_TriangleAmplitude_1   ((uint32_t)0x00000000)

Select max triangle amplitude of 1

#define DAC_TriangleAmplitude_1023   ((uint32_t)0x00000900)

Select max triangle amplitude of 1023

#define DAC_TriangleAmplitude_127   ((uint32_t)0x00000600)

Select max triangle amplitude of 127

#define DAC_TriangleAmplitude_15   ((uint32_t)0x00000300)

Select max triangle amplitude of 15

#define DAC_TriangleAmplitude_2047   ((uint32_t)0x00000A00)

Select max triangle amplitude of 2047

#define DAC_TriangleAmplitude_255   ((uint32_t)0x00000700)

Select max triangle amplitude of 255

#define DAC_TriangleAmplitude_3   ((uint32_t)0x00000100)

Select max triangle amplitude of 3

#define DAC_TriangleAmplitude_31   ((uint32_t)0x00000400)

Select max triangle amplitude of 31

#define DAC_TriangleAmplitude_4095   ((uint32_t)0x00000B00)

Select max triangle amplitude of 4095

#define DAC_TriangleAmplitude_511   ((uint32_t)0x00000800)

Select max triangle amplitude of 511

#define DAC_TriangleAmplitude_63   ((uint32_t)0x00000500)

Select max triangle amplitude of 63

#define DAC_TriangleAmplitude_7   ((uint32_t)0x00000200)

Select max triangle amplitude of 7

#define IS_DAC_LFSR_UNMASK_TRIANGLE_AMPLITUDE (   VALUE)
Value:
(((VALUE) == DAC_LFSRUnmask_Bit0) || \
((VALUE) == DAC_LFSRUnmask_Bits1_0) || \
((VALUE) == DAC_LFSRUnmask_Bits2_0) || \
((VALUE) == DAC_LFSRUnmask_Bits3_0) || \
((VALUE) == DAC_LFSRUnmask_Bits4_0) || \
((VALUE) == DAC_LFSRUnmask_Bits5_0) || \
((VALUE) == DAC_LFSRUnmask_Bits6_0) || \
((VALUE) == DAC_LFSRUnmask_Bits7_0) || \
((VALUE) == DAC_LFSRUnmask_Bits8_0) || \
((VALUE) == DAC_LFSRUnmask_Bits9_0) || \
((VALUE) == DAC_LFSRUnmask_Bits10_0) || \
((VALUE) == DAC_LFSRUnmask_Bits11_0) || \
((VALUE) == DAC_TriangleAmplitude_1) || \
((VALUE) == DAC_TriangleAmplitude_3) || \
((VALUE) == DAC_TriangleAmplitude_7) || \
((VALUE) == DAC_TriangleAmplitude_15) || \
((VALUE) == DAC_TriangleAmplitude_31) || \
((VALUE) == DAC_TriangleAmplitude_63) || \
((VALUE) == DAC_TriangleAmplitude_127) || \
((VALUE) == DAC_TriangleAmplitude_255) || \
((VALUE) == DAC_TriangleAmplitude_511) || \
((VALUE) == DAC_TriangleAmplitude_1023) || \
((VALUE) == DAC_TriangleAmplitude_2047) || \