PSC0 Output Configuration
[PSC0 Macros]

Collaboration diagram for PSC0 Output Configuration:


Detailed Description

Select the PSC0 Outputs.


Defines

#define Disable_both_psc0_outputs()   (PSOC0 &= ~((1<<POEN0A) | (1<<POEN0B)))
 Disable Both PSC0 Waveform Generator A and B.
#define Disable_pscout00()   (PSOC0 &= ~(1<<POEN0A) )
 Disable PSC0 Waveform Generator A.
#define Disable_pscout01()   (PSOC0 &= ~(1<<POEN0B) )
 Disable PSC0 Waveform Generator B.
#define Enable_both_psc0_outputs()   (PSOC0 |= ((1<<POEN0A) | (1<<POEN0B)))
 Enable Both PSC0 Waveform Generator A and B.
#define Enable_pscout00()   (PSOC0 |= (1<<POEN0A) )
 Enable PSC0 Waveform Generator A.
#define Enable_pscout01()   (PSOC0 |= (1<<POEN0B) )
 Enable PSC0 Waveform Generator B.
#define Psc0_outputs_active_high()   (PCNF0 |= (1<<POP0) )
 PSC0 outputs are active low.
#define Psc0_outputs_active_low()   (PCNF0 &= ~(1<<POP0) )
 PSC0 outputs are active high.


Define Documentation

 
#define Disable_both_psc0_outputs (  )     (PSOC0 &= ~((1<<POEN0A) | (1<<POEN0B)))

Disable Both PSC0 Waveform Generator A and B.

Definition at line 42 of file psc_drv.h.

 
#define Disable_pscout00 (  )     (PSOC0 &= ~(1<<POEN0A) )

Disable PSC0 Waveform Generator A.

Definition at line 34 of file psc_drv.h.

 
#define Disable_pscout01 (  )     (PSOC0 &= ~(1<<POEN0B) )

Disable PSC0 Waveform Generator B.

Definition at line 37 of file psc_drv.h.

 
#define Enable_both_psc0_outputs (  )     (PSOC0 |= ((1<<POEN0A) | (1<<POEN0B)))

Enable Both PSC0 Waveform Generator A and B.

Definition at line 39 of file psc_drv.h.

 
#define Enable_pscout00 (  )     (PSOC0 |= (1<<POEN0A) )

Enable PSC0 Waveform Generator A.

Definition at line 33 of file psc_drv.h.

 
#define Enable_pscout01 (  )     (PSOC0 |= (1<<POEN0B) )

Enable PSC0 Waveform Generator B.

Definition at line 36 of file psc_drv.h.

 
#define Psc0_outputs_active_high (  )     (PCNF0 |= (1<<POP0) )

PSC0 outputs are active low.

Definition at line 45 of file psc_drv.h.

 
#define Psc0_outputs_active_low (  )     (PCNF0 &= ~(1<<POP0) )

PSC0 outputs are active high.

Definition at line 46 of file psc_drv.h.


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