Configures the DAC to generate an analog output on the specified DAC channel A/B/C (12-bit) of F2837x/F2807x processor
Embedded Coder Support Package for Texas Instruments C2000 Processors/ F2807x
Embedded Coder Support Package for Texas Instruments C2000 Processors/ F2837xD
Embedded Coder Support Package for Texas Instruments C2000 Processors/ F2837xS
Generate an analog output on the specified DAC channel A, B, or C for F2837x/F2807x processors. The block accepts a 12–bit value as an input in the range 0 to 4095. You can saturate a value higher than 4095 to 4095 with the Saturate on input outflow option.
The output pins of this block are multiplexed with the ADC block input. When you use a DAC block in your model, the corresponding channels of the ADC cannot be used as input. If used, the ADC samples the DAC output.
The pins that are shared between ADC and DAC are DACOUTA/ADCINA0, DACOUTB/ADCINA1, and DACOUTC/ADCINB1. The input to the DAC block can be double, float, int, and uint. The block typecasts the input to uint16.