PSC1 Prescaler Control
[PSC1 Clock Control]

Collaboration diagram for PSC1 Prescaler Control:


Detailed Description

PSC1 Prescaler Control.


Defines

#define Disable_psc1_prescaler()   (PCTL1 &= ~( (1<<PPRE11) | (1<<PPRE10) ) )
 No PSC1prescaler.
#define Divide_psc1_input_clock_by_16()
 PSC1 clock is internally divided by 16.
#define Divide_psc1_input_clock_by_4()
 PSC1 clock is internally divided by 4.
#define Divide_psc1_input_clock_by_64()   (PCTL1 |= ((1<<PPRE11) | (1<<PPRE10)) )
 PSC1 clock is internally divided by 64.


Define Documentation

 
#define Disable_psc1_prescaler (  )     (PCTL1 &= ~( (1<<PPRE11) | (1<<PPRE10) ) )

No PSC1prescaler.

Definition at line 298 of file psc_drv.h.

 
#define Divide_psc1_input_clock_by_16 (  ) 

Value:

(PCTL1 |=  (1<<PPRE11),                                            \
            PCTL1 &= ~(1<<PPRE10) )
PSC1 clock is internally divided by 16.

Definition at line 305 of file psc_drv.h.

 
#define Divide_psc1_input_clock_by_4 (  ) 

Value:

(PCTL1 &= ~(1<<PPRE11),                                            \
            PCTL1 |=  (1<<PPRE10) )
PSC1 clock is internally divided by 4.

Definition at line 301 of file psc_drv.h.

 
#define Divide_psc1_input_clock_by_64 (  )     (PCTL1 |= ((1<<PPRE11) | (1<<PPRE10)) )

PSC1 clock is internally divided by 64.

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