PSC2 ADC Amplifier Trigger Configuration
[PSC2 Macros]

Collaboration diagram for PSC2 ADC Amplifier Trigger Configuration:


Detailed Description

Select the PSC2 trigger configuration for the ADC or the amplifier.


Defines

#define Psc2_synchro_on_waveform_generator_a_leading_edge()   (PSCO2 &= ~( (1<<PSYNC21) | (1<<PSYNC20) ) )
 The PSC2 synchronization signal is sent to the ADC/Amplifier on waveform generator A leading edge.
#define Psc2_synchro_on_waveform_generator_a_trailing_edge()
 The PSC2 synchronization signal is sent to the ADC/Amplifier on waveform generator A trailing edge.
#define Psc2_synchro_on_waveform_generator_b_leading_edge()
 The PSC2 synchronization signal is sent to the ADC/Amplifier on waveform generator B leading edge.
#define Psc2_synchro_on_waveform_generator_b_trailing_edge()   (PSCO2 |= ( (1<<PSYNC21) | (1<<PSYNC20) ) )
 The PSC2 synchronization signal is sent to the ADC/Amplifier on waveform generator B trailing edge.


Define Documentation

 
#define Psc2_synchro_on_waveform_generator_a_leading_edge (  )     (PSCO2 &= ~( (1<<PSYNC21) | (1<<PSYNC20) ) )

The PSC2 synchronization signal is sent to the ADC/Amplifier on waveform generator A leading edge.

Definition at line 557 of file psc_drv.h.

 
#define Psc2_synchro_on_waveform_generator_a_trailing_edge (  ) 

Value:

(PSCO2 &= ~(1<<PSYNC21),                                           \
            PSCO2 |=  (1<<PSYNC20) )
The PSC2 synchronization signal is sent to the ADC/Amplifier on waveform generator A trailing edge.

Definition at line 560 of file psc_drv.h.

 
#define Psc2_synchro_on_waveform_generator_b_leading_edge (  ) 

Value:

(PSCO2 |=  (1<<PSYNC21),                                           \
            PSCO2 &= ~(1<<PSYNC20) )
The PSC2 synchronization signal is sent to the ADC/Amplifier on waveform generator B leading edge.

Definition at line 564 of file psc_drv.h.

 
#define Psc2_synchro_on_waveform_generator_b_trailing_edge (  )     (PSCO2 |= ( (1<<PSYNC21) | (1<<PSYNC20) ) )

The PSC2 synchronization signal is sent to the ADC/Amplifier on waveform generator B trailing edge.

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