PSC2 Run Control
[PSC2 Macros]

Collaboration diagram for PSC2 Run Control:


Detailed Description

Turn On and Off the PSC2.


Defines

#define Is_psc2_started()   (PCTL2 & (1<<PRUN2) )
#define Psc2_complete_waveform_and_stop()
 Turn Off PSC2 and the end of cycle.
#define Start_psc2()   (PCTL2 |= (1<<PRUN2) )
 Turn On PSC2.
#define Stop_psc2()   (PCTL2 &= ~(1<<PRUN2) )
 Turn Off PSC2.


Define Documentation

 
#define Is_psc2_started (  )     (PCTL2 & (1<<PRUN2) )

Definition at line 580 of file psc_drv.h.

 
#define Psc2_complete_waveform_and_stop (  ) 

Value:

(PCTL2 |=  (1<<PCCYC2), \
                                                       PCTL2 &= ~(1<<PRUN2) )
Turn Off PSC2 and the end of cycle.

Definition at line 578 of file psc_drv.h.

 
#define Start_psc2 (  )     (PCTL2 |= (1<<PRUN2) )

Turn On PSC2.

Definition at line 575 of file psc_drv.h.

 
#define Stop_psc2 (  )     (PCTL2 &= ~(1<<PRUN2) )

Turn Off PSC2.

Definition at line 576 of file psc_drv.h.


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