/* Change Logs: Date Author Notes  Abbcc first version  stevetong459 FINSH_FUNCTION_EXPORT_ALIAS change to MSH_CMD_EXPORT for reboot function.  */
void rt_hw_systick_init(void)
/* Change Logs: Date Author Notes  Abbcc first version  stevetong459 FINSH_FUNCTION_EXPORT_ALIAS change to MSH_CMD_EXPORT for reboot function.  */
void rt_hw_systick_init(void)
{
    SysTick_Config(RCM_ReadHCLKFreq() / RT_TICK_PER_SECOND);
    SysTick->CTRL |= 0x00000004U;
    NVIC_SetPriority(SysTick_IRQn, 0xFF);
}