DAC Set Input Value
[DAC Macros]

Collaboration diagram for DAC Set Input Value:


Detailed Description

Setart the conversion input conversion value.


Defines

#define Set_dac_10_bits(dac_in)   (DACL = LOW((U16)(dac_in)), DACH = HIGH((U16)(dac_in)))
#define Set_dac_8_bits(dac_in)   (DACH = (U8)(dac_in))


Define Documentation

#define Set_dac_10_bits ( dac_in   )     (DACL = LOW((U16)(dac_in)), DACH = HIGH((U16)(dac_in)))

Definition at line 60 of file Dac_drv.h.

#define Set_dac_8_bits ( dac_in   )     (DACH = (U8)(dac_in))

Definition at line 59 of file Dac_drv.h.

Referenced by mc_set_Over_Current().


Generated on Wed Jul 12 16:55:31 2006 for Atmel BLDC Sensorless on ATAVRMC100 by  doxygen 1.4.7