Infineon /XMC4700 /DAC /DAC0CFG1

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 DAC0CFG1

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 (value1)SCALE0 (value1)MULDIV 0OFFS0TRIGSEL 0 (value1)DATMOD 0 (SWTRIG)SWTRIG 0 (value1)TRIGMOD 0ANACFG0 (value1)ANAEN 0REFCFGL

ANAEN=value1, DATMOD=value1, MULDIV=value1, SCALE=value1, TRIGMOD=value1

Description

DAC0 Configuration Register 1

Fields

SCALE

Scale value for up- or downscale of the DAC0 input data in steps by the power of 2 (=shift operation)

0 (value1): no shift = multiplication/division by 1

1 (value2): shift by 1 = multiplication/division by 2

2 (value3): shift by 2 = multiplication/division by 4

3 (value4): shift left by 3 = multiplication/division by 8

4 (value5): shift left by 4 = multiplication/division by 16

5 (value6): shift left by 5 = multiplication/division by 32

6 (value7): shift left by 6 = multiplication/division by 64

7 (value8): shift left by 7 = multiplication/division by 128

MULDIV

Switch between up- and downscale of the DAC0 input data values

0 (value1): downscale = division (shift SCALE positions to the right)

1 (value2): upscale = multiplication (shift SCALE positions to the left)

OFFS

8-bit offset value addition

TRIGSEL

Selects one of the eight external trigger sources for DAC0

DATMOD

Switch between independent or simultaneous DAC mode and select the input data register for DAC0 and DAC1

0 (value1): independent data handling - process data from DATA0 register (bits 11:0) to DAC0 and data from DATA1 register (bits 11:0) to DAC1

1 (value2): simultaneous data handling - process data from DAC01 register to both DACs (bits 11:0 to DAC0 and bits 23:12 to DAC1).

SWTRIG

Software Trigger

TRIGMOD

Select the trigger source for channel 0

0 (value1): internal Trigger (integer divided clock - see FREQ parameter)

1 (value2): external Trigger (preselected trigger by TRIGSEL parameter)

2 (value3): software Trigger (see SWTRIG parameter)

ANACFG

DAC0 analog configuration/calibration parameters

ANAEN

Enable analog DAC for channel 0

0 (value1): DAC0 is set to standby (analog output only)

1 (value2): enable DAC0 (analog output only)

REFCFGL

Lower 4 band-gap configuration/calibration parameters

Links

()