PSC0 Prescaler Control
[PSC0 Clock Control]

Collaboration diagram for PSC0 Prescaler Control:


Detailed Description

PSC0 Prescaler Control.


Defines

#define Disable_psc0_prescaler()   (PCTL0 &= ~( (1<<PPRE01) | (1<<PPRE00) ) )
 No PSC0prescaler.
#define Divide_psc0_input_clock_by_16()
 PSC0 clock is internally divided by 16.
#define Divide_psc0_input_clock_by_4()
 PSC0 clock is internally divided by 4.
#define Divide_psc0_input_clock_by_64()   (PCTL0 |= ((1<<PPRE01) | (1<<PPRE00)) )
 PSC0 clock is internally divided by 64.


Define Documentation

 
#define Disable_psc0_prescaler (  )     (PCTL0 &= ~( (1<<PPRE01) | (1<<PPRE00) ) )

No PSC0prescaler.

Definition at line 89 of file psc_drv.h.

 
#define Divide_psc0_input_clock_by_16 (  ) 

Value:

(PCTL0 |=  (1<<PPRE01),                                            \
            PCTL0 &= ~(1<<PPRE00) )
PSC0 clock is internally divided by 16.

Definition at line 96 of file psc_drv.h.

 
#define Divide_psc0_input_clock_by_4 (  ) 

Value:

(PCTL0 &= ~(1<<PPRE01),                                            \
            PCTL0 |=  (1<<PPRE00) )
PSC0 clock is internally divided by 4.

Definition at line 92 of file psc_drv.h.

 
#define Divide_psc0_input_clock_by_64 (  )     (PCTL0 |= ((1<<PPRE01) | (1<<PPRE00)) )

PSC0 clock is internally divided by 64.

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