guanjiao
2018-09-15 0d1b2a9e6b47bf4850a69b5daeb7eb17eb0215a7
源码/核心板/Src/OnChipDevices/Rcc_Nvic_Systick.c
@@ -53,13 +53,20 @@
    NVIC_InitStructure.NVIC_IRQChannelSubPriority = 0;
    NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE;
      NVIC_InitStructure.NVIC_IRQChannel = RTCAlarm_IRQn;
    NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0;
    NVIC_InitStructure.NVIC_IRQChannelSubPriority = 0;
      NVIC_InitStructure.NVIC_IRQChannelCmd =ENABLE;
    NVIC_Init(&NVIC_InitStructure);
}
int Systick_Init(void)
{
   int time_retry = 500;
   if (SysTick_Config(64000))
   if (SysTick_Config(72000))
   {
        /* Capture error */
        while (time_retry--);