reference Property

Top  Previous  Next

Gets or sets the source for the DAC voltage reference.

Syntax

Cell.DAC.reference

Property Value

A special value designating one of the voltage references.

Remarks

The voltage reference for the DAC is selected according to this table:

 

Value

Reference Source

Cell.DAC.ref1V

Internal 1.0V reference.

Cell.DAC.refVcc

Supply voltage.

Cell.DAC.refA0

External reference on pin A0.

Cell.DAC.refExt

External reference on pin Aref.

Examples

Cell.DAC.reference = Cell.DAC.ref1V;

See Also

ref1V Constant, refA0 Constant, refExt Constant, refVcc Constant