STMicroelectronics /STM32H753x /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 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 0TSEL10WAVE1 0MAMP10 (DMAEN1)DMAEN1 0 (DMAUDRIE1)DMAUDRIE1 0 (CEN1)CEN1 0 (EN2)EN2 0 (TEN2)TEN2 0TSEL20WAVE2 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

TSEL1

DAC channel1 trigger selection These bits select the external event used to trigger DAC channel1. Note: Only used if bit TEN1 = 1 (DAC channel1 trigger enabled).

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.

EN2

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

TEN2

DAC channel2 trigger enable

TSEL2

DAC channel2 trigger selection These bits select the external event used to trigger DAC channel2 Note: Only used if bit TEN2 = 1 (DAC channel2 trigger enabled).

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

()