STMicroelectronics /STM32L552 /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 (EN1)EN1 0 (TEN1)TEN1 0 (TSEL10)TSEL10 0 (TSEL11)TSEL11 0 (TSEL12)TSEL12 0 (TSEL13)TSEL13 0WAVE1 0MAMP10 (DMAEN1)DMAEN1 0 (DMAUDRIE1)DMAUDRIE1 0 (CEN1)CEN1 0 (HFSEL)HFSEL 0 (EN2)EN2 0 (TEN2)TEN2 0 (TSEL20)TSEL20 0 (TSEL21)TSEL21 0 (TSEL22)TSEL22 0 (TSEL23)TSEL23 0WAVE2 0MAMP20 (DMAEN2)DMAEN2 0 (DMAUDRIE2)DMAUDRIE2 0 (CEN2)CEN2

Description

DAC control register

Fields

EN1

DAC channel1 enable This bit is set and cleared by software to enable/disable DAC channel1.

TEN1

DAC channel1 trigger enable

TSEL10

TSEL10

TSEL11

TSEL11

TSEL12

TSEL12

TSEL13

TSEL13

WAVE1

DAC channel1 noise/triangle wave generation enable These bits are set and cleared by software. Note: Only used if bit TEN1 = 1 (DAC channel1 trigger enabled).

MAMP1

DAC channel1 mask/amplitude selector These bits are written by software to select mask in wave generation mode or amplitude in triangle generation mode. = 1011: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095

DMAEN1

DAC channel1 DMA enable This bit is set and cleared by software.

DMAUDRIE1

DAC channel1 DMA Underrun Interrupt enable This bit is set and cleared by software.

CEN1

DAC Channel 1 calibration enable This bit is set and cleared by software to enable/disable DAC channel 1 calibration, it can be written only if bit EN1=0 into DAC_CR (the calibration mode can be entered/exit only when the DAC channel is disabled) Otherwise, the write operation is ignored.

HFSEL

HFSEL

EN2

DAC channel2 enable This bit is set and cleared by software to enable/disable DAC channel2.

TEN2

DAC channel2 trigger enable

TSEL20

TSEL20

TSEL21

TSEL21

TSEL22

TSEL22

TSEL23

TSEL23

WAVE2

DAC channel2 noise/triangle wave generation enable These bits are set/reset by software. 1x: Triangle wave generation enabled Note: Only used if bit TEN2 = 1 (DAC channel2 trigger enabled)

MAMP2

DAC channel2 mask/amplitude selector These bits are written by software to select mask in wave generation mode or amplitude in triangle generation mode. = 1011: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095

DMAEN2

DAC channel2 DMA enable This bit is set and cleared by software.

DMAUDRIE2

DAC channel2 DMA underrun interrupt enable This bit is set and cleared by software.

CEN2

DAC Channel 2 calibration enable This bit is set and cleared by software to enable/disable DAC channel 2 calibration, it can be written only if bit EN2=0 into DAC_CR (the calibration mode can be entered/exit only when the DAC channel is disabled) Otherwise, the write operation is ignored.

Links

()