stm32 /stm32h5 /STM32H533 /DAC /DAC_CR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as DAC_CR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (B_0x0)EN1 0 (B_0x0)TEN1 0 (B_0x0)TSEL10 (B_0x0)WAVE1 0 (B_0x0)MAMP10 (B_0x0)DMAEN1 0 (B_0x0)DMAUDRIE1 0 (B_0x0)CEN1 0 (B_0x0)EN2 0 (B_0x0)TEN2 0 (B_0x0)TSEL20 (B_0x0)WAVE2 0 (B_0x0)MAMP20 (B_0x0)DMAEN2 0 (B_0x0)DMAUDRIE2 0 (B_0x0)CEN2

MAMP2=B_0x0, DMAEN2=B_0x0, EN2=B_0x0, TSEL2=B_0x0, MAMP1=B_0x0, CEN2=B_0x0, EN1=B_0x0, DMAUDRIE2=B_0x0, WAVE1=B_0x0, TSEL1=B_0x0, TEN1=B_0x0, CEN1=B_0x0, DMAUDRIE1=B_0x0, TEN2=B_0x0, DMAEN1=B_0x0, WAVE2=B_0x0

Description

DAC control register

Fields

EN1

DAC channel1 enable

0 (B_0x0): DAC channel1 disabled

1 (B_0x1): DAC channel1 enabled

TEN1

DAC channel1 trigger enable

0 (B_0x0): DAC channel1 trigger disabled and data written into the DAC_DHR1 register are transferred one dac_hclk clock cycle later to the DAC_DOR1 register

1 (B_0x1): DAC channel1 trigger enabled and data from the DAC_DHR1 register are transferred three dac_hclk clock cycles later to the DAC_DOR1 register

TSEL1

DAC channel1 trigger selection

0 (B_0x0): SWTRIG1

1 (B_0x1): dac_ch1_trg1

2 (B_0x2): dac_ch1_trg2

15 (B_0xF): dac_ch1_trg15

WAVE1

DAC channel1 noise/triangle wave generation enable

0 (B_0x0): wave generation disabled

1 (B_0x1): Noise wave generation enabled

MAMP1

DAC channel1 mask/amplitude selector

0 (B_0x0): Unmask bit0 of LFSR/ triangle amplitude equal to 1

1 (B_0x1): Unmask bits[1:0] of LFSR/ triangle amplitude equal to 3

2 (B_0x2): Unmask bits[2:0] of LFSR/ triangle amplitude equal to 7

3 (B_0x3): Unmask bits[3:0] of LFSR/ triangle amplitude equal to 15

4 (B_0x4): Unmask bits[4:0] of LFSR/ triangle amplitude equal to 31

5 (B_0x5): Unmask bits[5:0] of LFSR/ triangle amplitude equal to 63

6 (B_0x6): Unmask bits[6:0] of LFSR/ triangle amplitude equal to 127

7 (B_0x7): Unmask bits[7:0] of LFSR/ triangle amplitude equal to 255

8 (B_0x8): Unmask bits[8:0] of LFSR/ triangle amplitude equal to 511

9 (B_0x9): Unmask bits[9:0] of LFSR/ triangle amplitude equal to 1023

10 (B_0xA): Unmask bits[10:0] of LFSR/ triangle amplitude equal to 2047

DMAEN1

DAC channel1 DMA enable

0 (B_0x0): DAC channel1 DMA mode disabled

1 (B_0x1): DAC channel1 DMA mode enabled

DMAUDRIE1

DAC channel1 DMA Underrun Interrupt enable

0 (B_0x0): DAC channel1 DMA Underrun Interrupt disabled

1 (B_0x1): DAC channel1 DMA Underrun Interrupt enabled

CEN1

DAC channel1 calibration enable

0 (B_0x0): DAC channel1 in Normal operating mode

1 (B_0x1): DAC channel1 in calibration mode

EN2

DAC channel2 enable

0 (B_0x0): DAC channel2 disabled

1 (B_0x1): DAC channel2 enabled

TEN2

DAC channel2 trigger enable

0 (B_0x0): DAC channel2 trigger disabled and data written into the DAC_DHR2 register are transferred one dac_hclk clock cycle later to the DAC_DOR2 register

1 (B_0x1): DAC channel2 trigger enabled and data from the DAC_DHR2 register are transferred three dac_hclk clock cycles later to the DAC_DOR2 register

TSEL2

DAC channel2 trigger selection

0 (B_0x0): SWTRIG2

1 (B_0x1): dac_ch2_trg1

2 (B_0x2): dac_ch2_trg2

15 (B_0xF): dac_ch2_trg15

WAVE2

DAC channel2 noise/triangle wave generation enable

0 (B_0x0): wave generation disabled

1 (B_0x1): Noise wave generation enabled

MAMP2

DAC channel2 mask/amplitude selector

0 (B_0x0): Unmask bit0 of LFSR/ triangle amplitude equal to 1

1 (B_0x1): Unmask bits[1:0] of LFSR/ triangle amplitude equal to 3

2 (B_0x2): Unmask bits[2:0] of LFSR/ triangle amplitude equal to 7

3 (B_0x3): Unmask bits[3:0] of LFSR/ triangle amplitude equal to 15

4 (B_0x4): Unmask bits[4:0] of LFSR/ triangle amplitude equal to 31

5 (B_0x5): Unmask bits[5:0] of LFSR/ triangle amplitude equal to 63

6 (B_0x6): Unmask bits[6:0] of LFSR/ triangle amplitude equal to 127

7 (B_0x7): Unmask bits[7:0] of LFSR/ triangle amplitude equal to 255

8 (B_0x8): Unmask bits[8:0] of LFSR/ triangle amplitude equal to 511

9 (B_0x9): Unmask bits[9:0] of LFSR/ triangle amplitude equal to 1023

10 (B_0xA): Unmask bits[10:0] of LFSR/ triangle amplitude equal to 2047

DMAEN2

DAC channel2 DMA enable

0 (B_0x0): DAC channel2 DMA mode disabled

1 (B_0x1): DAC channel2 DMA mode enabled

DMAUDRIE2

DAC channel2 DMA underrun interrupt enable

0 (B_0x0): DAC channel2 DMA underrun interrupt disabled

1 (B_0x1): DAC channel2 DMA underrun interrupt enabled

CEN2

DAC channel2 calibration enable

0 (B_0x0): DAC channel2 in Normal operating mode

1 (B_0x1): DAC channel2 in calibration mode

Links

()