PSC1 Run Control
[PSC1 Macros]

Collaboration diagram for PSC1 Run Control:


Detailed Description

Turn On and Off the PSC1.


Defines

#define Is_psc1_started()   (PCTL1 & (1<<PRUN1) )
#define Psc1_complete_waveform_and_stop()
 Turn Off PSC1 and the end of cycle.
#define Start_psc1()   (PCTL1 |= (1<<PRUN1) )
 Turn On PSC1.
#define Stop_psc1()   (PCTL1 &= ~(1<<PRUN1) )
 Turn Off PSC1.


Define Documentation

 
#define Is_psc1_started (  )     (PCTL1 & (1<<PRUN1) )

Definition at line 372 of file psc_drv.h.

 
#define Psc1_complete_waveform_and_stop (  ) 

Value:

(PCTL1 |=  (1<<PCCYC1), \
                                                       PCTL1 &= ~(1<<PRUN1) )
Turn Off PSC1 and the end of cycle.

Definition at line 370 of file psc_drv.h.

 
#define Start_psc1 (  )     (PCTL1 |= (1<<PRUN1) )

Turn On PSC1.

Definition at line 367 of file psc_drv.h.

 
#define Stop_psc1 (  )     (PCTL1 &= ~(1<<PRUN1) )

Turn Off PSC1.

Definition at line 368 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