NXP LPC2387

NXP LPC2387 specific code.

uintptr_t __stack_start

end of user stack memory space

void lpc2387_pclk_scale(uint32_t source, uint32_t target, uint32_t * pclksel, uint32_t * prescale)

Scale lpc2387 cpu speed.

bool install_irq(int IntNumber, void(*)(void) HandlerAddr, int Priority)

install lpc2387 irq

void cpu_print_last_instruction(void)

Prints the current content of the link register (lr)