Main Content
Analog Output
Send analog output signal to DAC0_OUT pin
Add-On Required: This feature requires the Simulink Coder Support Package for NXP FRDM-K64F Board add-on.
Libraries:
Simulink Coder Support Package for NXP FRDM-K64F Board
Description
The Analog Output block sends an analog signal to the DAC0_OUT pin that is on the board.
When you provide a value between 0–1, this block outputs an analog signal to the DAC0_OUT pin, such that:
Vout = Vref *[(1+(input*4095))/4096]
Vref is the reference voltage for the DAC that you select from Configuration Parameters > Hardware Implementation pane > DAC > DAC0 reference voltage.
Make sure to use only one Analog Output block within the same model.
Ports
Input
Parameters
Version History
Introduced in R2017a