Contiki 2.6
|
These functions allow to control the PLL. More...
Defines | |
#define | Start_pll(clockfactor) (PLLCSR = ( clockfactor | (1<<PLLE) )) |
Start the PLL at only 48 MHz, regarding CPU frequency Start the USB PLL with clockfactor clockfactor can be PLLx24, PLLx12, PLLx08 PLLx06, PLLx04, PLLx03. | |
#define | Is_pll_ready() (PLLCSR & (1<<PLOCK) ) |
return 1 when PLL locked | |
#define | Wait_pll_ready() while (!(PLLCSR & (1<<PLOCK))) |
Test PLL lock bit and wait until lock is set. | |
#define | Stop_pll() (PLLCSR &= (~(1<<PLLE)) ) |
Stop the PLL. |
These functions allow to control the PLL.