52.7.2 DACC Mode Register

This register can only be written if the WPEN bit is cleared in the DACC Write Protection Mode Register.

Name: DACC_MR
Offset: 0x04
Reset: 0x00000000
Property: Read/Write

Bit 3130292827262524 
     PRESCALER[3:0] 
Access R/WR/WR/WR/W 
Reset 0000 
Bit 2322212019181716 
 DIFF        
Access R/W 
Reset 0 
Bit 15141312111098 
          
Access  
Reset  
Bit 76543210 
   ZEROWORD  MAXS1MAXS0 
Access R/WR/WR/WR/W 
Reset 0000 

Bits 27:24 – PRESCALER[3:0] Peripheral Clock to DAC Clock Ratio

This field defines the division ratio between the peripheral clock and the DAC clock as per the following formula:

PRESCALER = f peripheral clock f DAC 2

Bit 23 – DIFF Differential Mode

ValueNameDescription
0 DISABLED

DAC0 and DAC1 are single-ended outputs.

1 ENABLED

DACP and DACN are differential outputs. The differential level is configured by the channel 0 value.

Bit 5 – ZERO Must always be written to 0.

Bit 4 – WORD Word Transfer Mode

ValueNameDescription
0 DISABLED

One data to convert is written to the FIFO per access to DACC.

1 ENABLED

Two data to convert are written to the FIFO per access to DACC (reduces the number of requests to DMA and the number of system bus accesses).

Bits 0, 1 – MAXSx Max Speed Mode for Channel x

ValueNameDescription
0 TRIG_EVENT

Trigger mode or Free-running mode enabled. (See TRGENx.DACC_TRIGR.)

1 MAXIMUM

Max speed mode enabled.