PSC0 Run Control
[PSC0 Macros]

Collaboration diagram for PSC0 Run Control:


Detailed Description

Turn On and Off the PSC0.


Defines

#define Is_psc0_started()   (PCTL0 & (1<<PRUN0) )
#define Psc0_complete_waveform_and_stop()
 Turn Off PSC0 and the end of cycle.
#define Start_psc0()   (PCTL0 |= (1<<PRUN0) )
 Turn On PSC0.
#define Stop_psc0()   (PCTL0 &= ~(1<<PRUN0) )
 Turn Off PSC0.


Define Documentation

 
#define Is_psc0_started (  )     (PCTL0 & (1<<PRUN0) )

Definition at line 163 of file psc_drv.h.

 
#define Psc0_complete_waveform_and_stop (  ) 

Value:

(PCTL0 |=  (1<<PCCYC0), \
                                                       PCTL0 &= ~(1<<PRUN0) )
Turn Off PSC0 and the end of cycle.

Definition at line 161 of file psc_drv.h.

 
#define Start_psc0 (  )     (PCTL0 |= (1<<PRUN0) )

Turn On PSC0.

Definition at line 158 of file psc_drv.h.

 
#define Stop_psc0 (  )     (PCTL0 &= ~(1<<PRUN0) )

Turn Off PSC0.

Definition at line 159 of file psc_drv.h.


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