Pre Merge pull request !1116 from hw_llm/master
This commit is contained in:
commit
f1392d9834
|
@ -86,7 +86,7 @@ STATIC UINT64 SysTickReload(UINT64 nextResponseTime)
|
||||||
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
||||||
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
||||||
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
||||||
NVIC_ClearPendingIRQ(SysTick_IRQn);
|
SCB->ICSR |= SCB_ICSR_PENDSTCLR_Msk;
|
||||||
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
||||||
|
|
||||||
return nextResponseTime;
|
return nextResponseTime;
|
||||||
|
|
|
@ -85,7 +85,7 @@ STATIC UINT64 SysTickReload(UINT64 nextResponseTime)
|
||||||
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
||||||
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
||||||
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
||||||
NVIC_ClearPendingIRQ(SysTick_IRQn);
|
SCB->ICSR |= SCB_ICSR_PENDSTCLR_Msk;
|
||||||
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
||||||
return nextResponseTime;
|
return nextResponseTime;
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,7 +84,7 @@ STATIC UINT64 SysTickReload(UINT64 nextResponseTime)
|
||||||
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
||||||
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
||||||
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
||||||
NVIC_ClearPendingIRQ(SysTick_IRQn);
|
SCB->ICSR |= SCB_ICSR_PENDSTCLR_Msk;
|
||||||
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
||||||
return nextResponseTime;
|
return nextResponseTime;
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,7 +84,7 @@ STATIC UINT64 SysTickReload(UINT64 nextResponseTime)
|
||||||
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
||||||
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
||||||
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
||||||
NVIC_ClearPendingIRQ(SysTick_IRQn);
|
SCB->ICSR |= SCB_ICSR_PENDSTCLR_Msk;
|
||||||
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
||||||
return nextResponseTime;
|
return nextResponseTime;
|
||||||
}
|
}
|
||||||
|
|
|
@ -85,7 +85,7 @@ STATIC UINT64 SysTickReload(UINT64 nextResponseTime)
|
||||||
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
||||||
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
||||||
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
||||||
NVIC_ClearPendingIRQ(SysTick_IRQn);
|
SCB->ICSR |= SCB_ICSR_PENDSTCLR_Msk;
|
||||||
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
||||||
return nextResponseTime;
|
return nextResponseTime;
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,7 +84,7 @@ STATIC UINT64 SysTickReload(UINT64 nextResponseTime)
|
||||||
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
||||||
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
||||||
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
||||||
NVIC_ClearPendingIRQ(SysTick_IRQn);
|
SCB->ICSR |= SCB_ICSR_PENDSTCLR_Msk;
|
||||||
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
||||||
return nextResponseTime;
|
return nextResponseTime;
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,7 +84,7 @@ STATIC UINT64 SysTickReload(UINT64 nextResponseTime)
|
||||||
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
||||||
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
||||||
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
||||||
NVIC_ClearPendingIRQ(SysTick_IRQn);
|
SCB->ICSR |= SCB_ICSR_PENDSTCLR_Msk;
|
||||||
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
||||||
return nextResponseTime;
|
return nextResponseTime;
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,7 +84,7 @@ STATIC UINT64 SysTickReload(UINT64 nextResponseTime)
|
||||||
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
||||||
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
||||||
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
||||||
NVIC_ClearPendingIRQ(SysTick_IRQn);
|
SCB->ICSR |= SCB_ICSR_PENDSTCLR_Msk;
|
||||||
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
||||||
return nextResponseTime;
|
return nextResponseTime;
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,7 +84,7 @@ STATIC UINT64 SysTickReload(UINT64 nextResponseTime)
|
||||||
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
||||||
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
||||||
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
||||||
NVIC_ClearPendingIRQ(SysTick_IRQn);
|
SCB->ICSR |= SCB_ICSR_PENDSTCLR_Msk;
|
||||||
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
||||||
return nextResponseTime;
|
return nextResponseTime;
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,7 +84,7 @@ STATIC UINT64 SysTickReload(UINT64 nextResponseTime)
|
||||||
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
||||||
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
||||||
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
||||||
NVIC_ClearPendingIRQ(SysTick_IRQn);
|
SCB->ICSR |= SCB_ICSR_PENDSTCLR_Msk;
|
||||||
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
||||||
return nextResponseTime;
|
return nextResponseTime;
|
||||||
}
|
}
|
||||||
|
|
|
@ -85,7 +85,7 @@ STATIC UINT64 SysTickReload(UINT64 nextResponseTime)
|
||||||
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
||||||
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
||||||
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
||||||
NVIC_ClearPendingIRQ(SysTick_IRQn);
|
SCB->ICSR |= SCB_ICSR_PENDSTCLR_Msk;
|
||||||
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
||||||
return nextResponseTime;
|
return nextResponseTime;
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,7 +84,7 @@ STATIC UINT64 SysTickReload(UINT64 nextResponseTime)
|
||||||
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
||||||
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
||||||
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
||||||
NVIC_ClearPendingIRQ(SysTick_IRQn);
|
SCB->ICSR |= SCB_ICSR_PENDSTCLR_Msk;
|
||||||
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
||||||
return nextResponseTime;
|
return nextResponseTime;
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,7 +84,7 @@ STATIC UINT64 SysTickReload(UINT64 nextResponseTime)
|
||||||
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk;
|
||||||
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
SysTick->LOAD = (UINT32)(nextResponseTime - 1UL); /* set reload register */
|
||||||
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
|
||||||
NVIC_ClearPendingIRQ(SysTick_IRQn);
|
SCB->ICSR |= SCB_ICSR_PENDSTCLR_Msk;
|
||||||
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
SysTick->CTRL |= SysTick_CTRL_ENABLE_Msk;
|
||||||
return nextResponseTime;
|
return nextResponseTime;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue