Introduction - If you have any usage issues, please Google them yourself
This routine shows how to configure an external crystal oscillator drive 22.1184Mhz and how to this external oscillator as the system clock while Enable
Missing clock detector reset function assumes 22.1184Mhz crystal connected between XTAL1 and XTAL2