This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

如何设置SysTick的计数可以1ms进一次中断

void main()
{

g_ui32SysClock = MAP_SysCtlClockFreqSet((SYSCTL_XTAL_25MHZ |
SYSCTL_OSC_MAIN |
SYSCTL_USE_PLL |
SYSCTL_CFG_VCO_480), 120000000);
//
// Configure SysTick for a periodic interrupt at .
//
SysTickPeriodSet(1000);

//
// Enable interrupts to the processor.
//
IntMasterEnable();

//
// Enable the SysTick Interrupt.
//
SysTickIntEnable();

//
// Enable SysTick.
//
SysTickEnable();

while(1)
{
}

}