/* This function returns the rate at which the SysTick counter wraps; this equates to the number of processor clocks between interrupts. */
unsigned long SysTickPeriodGet(void)
/* This function returns the rate at which the SysTick counter wraps; this equates to the number of processor clocks between interrupts. */
unsigned long SysTickPeriodGet(void)
{
    return(HWREG(NVIC_ST_RELOAD) + 1);
}