PSC1 Output Configuration
[PSC1 Macros]

Collaboration diagram for PSC1 Output Configuration:


Detailed Description

Select the PSC1 Outputs.


Defines

#define Disable_both_psc1_outputs()   (PSOC1 &= ~((1<<POEN1A) | (1<<POEN1B)))
 Disable Both PSC1 Waveform Generator A and B.
#define Disable_pscout10()   (PSOC1 &= ~(1<<POEN1A) )
 Disable PSC1 Waveform Generator A.
#define Disable_pscout11()   (PSOC1 &= ~(1<<POEN1B) )
 Disable PSC1 Waveform Generator B.
#define Enable_both_psc1_outputs()   (PSOC1 |= ((1<<POEN1A) | (1<<POEN1B)))
 Enable Both PSC1 Waveform Generator A and B.
#define Enable_pscout10()   (PSOC1 |= (1<<POEN1A) )
 Enable PSC1 Waveform Generator A.
#define Enable_pscout11()   (PSOC1 |= (1<<POEN1B) )
 Enable PSC1 Waveform Generator B.
#define Psc1_outputs_active_high()   (PCNF1 |= (1<<POP1) )
 PSC1 outputs are active low.
#define Psc1_outputs_active_low()   (PCNF1 &= ~(1<<POP1) )
 PSC1 outputs are active high.


Define Documentation

 
#define Disable_both_psc1_outputs (  )     (PSOC1 &= ~((1<<POEN1A) | (1<<POEN1B)))

Disable Both PSC1 Waveform Generator A and B.

Definition at line 251 of file psc_drv.h.

 
#define Disable_pscout10 (  )     (PSOC1 &= ~(1<<POEN1A) )

Disable PSC1 Waveform Generator A.

Definition at line 243 of file psc_drv.h.

 
#define Disable_pscout11 (  )     (PSOC1 &= ~(1<<POEN1B) )

Disable PSC1 Waveform Generator B.

Definition at line 246 of file psc_drv.h.

 
#define Enable_both_psc1_outputs (  )     (PSOC1 |= ((1<<POEN1A) | (1<<POEN1B)))

Enable Both PSC1 Waveform Generator A and B.

Definition at line 248 of file psc_drv.h.

 
#define Enable_pscout10 (  )     (PSOC1 |= (1<<POEN1A) )

Enable PSC1 Waveform Generator A.

Definition at line 242 of file psc_drv.h.

 
#define Enable_pscout11 (  )     (PSOC1 |= (1<<POEN1B) )

Enable PSC1 Waveform Generator B.

Definition at line 245 of file psc_drv.h.

 
#define Psc1_outputs_active_high (  )     (PCNF1 |= (1<<POP1) )

PSC1 outputs are active low.

Definition at line 254 of file psc_drv.h.

 
#define Psc1_outputs_active_low (  )     (PCNF1 &= ~(1<<POP1) )

PSC1 outputs are active high.

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