/* 3) Change the name of the function __cs3_isr_interrupt_80() within portasm.S to be correct for whichever vector number is being used. By default interrupt controller 0 vector number 16 is used, which corresponds to vector number 80.  */
void vApplicationSetupInterrupts(void)
/* 3) Change the name of the function __cs3_isr_interrupt_80() within portasm.S to be correct for whichever vector number is being used. By default interrupt controller 0 vector number 16 is used, which corresponds to vector number 80.  */
void vApplicationSetupInterrupts(void)
{
const unsigned portSHORT usCompareMatchValue = ( ( configCPU_CLOCK_HZ / portPRESCALE_VALUE ) / configTICK_RATE_HZ );
    MCF_INTC0_ICR55 = ( 1 | ( configKERNEL_INTERRUPT_PRIORITY << 3 ) );
    MCF_INTC0_IMRH &= ~( MCF_INTC_IMRH_INT_MASK55 );
    MCF_INTC0_ICR16 = ( 0 | ( configKERNEL_INTERRUPT_PRIORITY << 3 ) );
    MCF_INTC0_IMRH &= ~( MCF_INTC_IPRL_INT16 );
    MCF_PIT0_PCSR |= MCF_PIT_PCSR_PIF;
    MCF_PIT0_PCSR = ( portPRESCALE_REG_SETTING | MCF_PIT_PCSR_PIE | MCF_PIT_PCSR_RLD | MCF_PIT_PCSR_EN );
	MCF_PIT0_PMR = usCompareMatchValue;
}