PSC2 Prescaler Control
[PSC2 Clock Control]

Collaboration diagram for PSC2 Prescaler Control:


Detailed Description

PSC2 Prescaler Control.


Defines

#define Disable_psc2_prescaler()   (PCTL2 &= ~( (1<<PPRE21) | (1<<PPRE20) ) )
 No PSC2prescaler.
#define Divide_psc2_input_clock_by_16()
 PSC2 clock is internally divided by 16.
#define Divide_psc2_input_clock_by_4()
 PSC2 clock is internally divided by 4.
#define Divide_psc2_input_clock_by_64()   (PCTL2 |= ((1<<PPRE21) | (1<<PPRE20)) )
 PSC2 clock is internally divided by 64.


Define Documentation

 
#define Disable_psc2_prescaler (  )     (PCTL2 &= ~( (1<<PPRE21) | (1<<PPRE20) ) )

No PSC2prescaler.

Definition at line 506 of file psc_drv.h.

 
#define Divide_psc2_input_clock_by_16 (  ) 

Value:

(PCTL2 |=  (1<<PPRE21),                                            \
            PCTL2 &= ~(1<<PPRE20) )
PSC2 clock is internally divided by 16.

Definition at line 513 of file psc_drv.h.

 
#define Divide_psc2_input_clock_by_4 (  ) 

Value:

(PCTL2 &= ~(1<<PPRE21),                                            \
            PCTL2 |=  (1<<PPRE20) )
PSC2 clock is internally divided by 4.

Definition at line 509 of file psc_drv.h.

 
#define Divide_psc2_input_clock_by_64 (  )     (PCTL2 |= ((1<<PPRE21) | (1<<PPRE20)) )

PSC2 clock is internally divided by 64.

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