DAC
 
 
 Bean DAC
 
D/A converter
High Level Bean

This bean implements an internal D/A converter of the MCU. It allows select channels of D/A converter and contains methods for converting various format of a value to supported format of the D/A converter (see methods SetValue8, SetChanValue8, SetValue16, SetChanValue16).


Version specific information for CPUfamily: HCS12 derivatives
The type of the parameter Value(s) of methods SetValue depends on the Result mode and the D/A resolution properties. Methods SetChanValue, SetChanValue8 and SetChanValue16 are not supported because the DAC module contains one channel and the method Load is not supported. Methods SetValue uses byte value for the Right justified unsigned mode and the 8 bits resolution, signed char value (-128 - 127) for the Right justified signed mode and the 8 bits resolution,word value for the Left justified unsigned mode and integer value (-32768 - 32767) for the Left justified signed mode.


This bean belongs to the category: CPU Internal Peripherals-Converter-DAC



Processor ExpertTM and Embedded BeansTM are registered trademarks of UNIS, Ltd.
©1997-2005, UNIS, Ltd.