Module dac_cr

Module dac_cr 

Source
Expand description

DAC control register

Structsยง

CEN1_R
Field CEN1 reader - 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.
CEN1_W
Field CEN1 writer - 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.
CEN2_R
Field CEN2 reader - 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.
CEN2_W
Field CEN2 writer - 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.
DAC_CR_SPEC
DAC control register
DMAEN1_R
Field DMAEN1 reader - DAC channel1 DMA enable This bit is set and cleared by software.
DMAEN1_W
Field DMAEN1 writer - DAC channel1 DMA enable This bit is set and cleared by software.
DMAEN2_R
Field DMAEN2 reader - DAC channel2 DMA enable This bit is set and cleared by software.
DMAEN2_W
Field DMAEN2 writer - DAC channel2 DMA enable This bit is set and cleared by software.
DMAUDRIE1_R
Field DMAUDRIE1 reader - DAC channel1 DMA Underrun Interrupt enable This bit is set and cleared by software.
DMAUDRIE1_W
Field DMAUDRIE1 writer - DAC channel1 DMA Underrun Interrupt enable This bit is set and cleared by software.
DMAUDRIE2_R
Field DMAUDRIE2 reader - DAC channel2 DMA underrun interrupt enable This bit is set and cleared by software.
DMAUDRIE2_W
Field DMAUDRIE2 writer - DAC channel2 DMA underrun interrupt enable This bit is set and cleared by software.
EN1_R
Field EN1 reader - DAC channel1 enable This bit is set and cleared by software to enable/disable DAC channel1.
EN1_W
Field EN1 writer - DAC channel1 enable This bit is set and cleared by software to enable/disable DAC channel1.
EN2_R
Field EN2 reader - DAC channel2 enable This bit is set and cleared by software to enable/disable DAC channel2.
EN2_W
Field EN2 writer - DAC channel2 enable This bit is set and cleared by software to enable/disable DAC channel2.
MAMP1_R
Field MAMP1 reader - 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
MAMP1_W
Field MAMP1 writer - 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
MAMP2_R
Field MAMP2 reader - 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
MAMP2_W
Field MAMP2 writer - 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
R
Register DAC_CR reader
TEN1_R
Field TEN1 reader - DAC channel1 trigger enable
TEN1_W
Field TEN1 writer - DAC channel1 trigger enable
TEN2_R
Field TEN2 reader - DAC channel2 trigger enable
TEN2_W
Field TEN2 writer - DAC channel2 trigger enable
TSEL1_R
Field TSEL1 reader - 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).
TSEL1_W
Field TSEL1 writer - 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).
TSEL2_R
Field TSEL2 reader - 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).
TSEL2_W
Field TSEL2 writer - 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).
W
Register DAC_CR writer
WAVE1_R
Field WAVE1 reader - 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).
WAVE1_W
Field WAVE1 writer - 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).
WAVE2_R
Field WAVE2 reader - 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)
WAVE2_W
Field WAVE2 writer - 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)