Infineon /XMC4200 /DAC /DAC1CFG1

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 DAC1CFG1

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 (SWTRIG)SWTRIG 0 (value1)TRIGMOD 0ANACFG0 (value1)ANAEN 0REFCFGH

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

Description

DAC1 Configuration Register 1

Fields

SCALE

Scale value for up- or downscale of the DAC1 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 DAC1 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 DAC1

SWTRIG

Software Trigger

TRIGMOD

Select the trigger source for channel 1

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

DAC1 analog configuration/calibration parameters

ANAEN

Enable analog DAC for channel 1

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

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

REFCFGH

Higher 4 band-gap configuration/calibration parameters

Links

()