2 * system.c - misc system specific stuff
4 * author: hackbard@hackdaworld.org
14 void mmap_init(u8 memtype) {
22 PLLCFG=0x42; // multiplier = 3 (for cclk), dividor = 4 (for f_cco)
23 PLLCON=0x03; // enable and set as clk source for the lpc
30 while(!(PLLSTAT&(1<<10)))