PSC0 ADC Amplifier Trigger Configuration
[PSC0 Macros]

Collaboration diagram for PSC0 ADC Amplifier Trigger Configuration:


Detailed Description

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


Defines

#define Psc0_synchro_on_waveform_generator_a_leading_edge()   (PSCO0 &= ~( (1<<PSYNC01) | (1<<PSYNC00) ) )
 The PSC0 synchronization signal is sent to the ADC/Amplifier on waveform generator A leading edge.
#define Psc0_synchro_on_waveform_generator_a_trailing_edge()
 The PSC0 synchronization signal is sent to the ADC/Amplifier on waveform generator A trailing edge.
#define Psc0_synchro_on_waveform_generator_b_leading_edge()
 The PSC0 synchronization signal is sent to the ADC/Amplifier on waveform generator B leading edge.
#define Psc0_synchro_on_waveform_generator_b_trailing_edge()   (PSCO0 |= ( (1<<PSYNC01) | (1<<PSYNC00) ) )
 The PSC0 synchronization signal is sent to the ADC/Amplifier on waveform generator B trailing edge.


Define Documentation

 
#define Psc0_synchro_on_waveform_generator_a_leading_edge (  )     (PSCO0 &= ~( (1<<PSYNC01) | (1<<PSYNC00) ) )

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

Definition at line 140 of file psc_drv.h.

 
#define Psc0_synchro_on_waveform_generator_a_trailing_edge (  ) 

Value:

(PSCO0 &= ~(1<<PSYNC01),                                           \
            PSCO0 |=  (1<<PSYNC00) )
The PSC0 synchronization signal is sent to the ADC/Amplifier on waveform generator A trailing edge.

Definition at line 143 of file psc_drv.h.

 
#define Psc0_synchro_on_waveform_generator_b_leading_edge (  ) 

Value:

(PSCO0 |=  (1<<PSYNC01),                                           \
            PSCO0 &= ~(1<<PSYNC00) )
The PSC0 synchronization signal is sent to the ADC/Amplifier on waveform generator B leading edge.

Definition at line 147 of file psc_drv.h.

 
#define Psc0_synchro_on_waveform_generator_b_trailing_edge (  )     (PSCO0 |= ( (1<<PSYNC01) | (1<<PSYNC00) ) )

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

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