mirror of https://github.com/FOME-Tech/openblt.git
Refs #1261. Improved timer reset.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@847 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
This commit is contained in:
parent
35676b739a
commit
d09bd5559a
|
@ -70,8 +70,10 @@ void TimerInit(void)
|
|||
****************************************************************************************/
|
||||
void TimerReset(void)
|
||||
{
|
||||
/* Set the systick's status and control register back into the default reset value. */
|
||||
/* Set the systick's registers back into the default reset value. */
|
||||
S32_SysTick->CSR = 0;
|
||||
S32_SysTick->RVR = 0;
|
||||
S32_SysTick->CVR = 0;
|
||||
} /* end of TimerReset */
|
||||
|
||||
|
||||
|
|
|
@ -99,8 +99,10 @@ void TimerInit(void)
|
|||
****************************************************************************************/
|
||||
void TimerReset(void)
|
||||
{
|
||||
/* set the systick's status and control register back into the default reset value */
|
||||
/* set the systick's registers back into the default reset value */
|
||||
SYSTICK->CTRL = 0;
|
||||
SYSTICK->LOAD = 0;
|
||||
SYSTICK->VAL = 0;
|
||||
} /* end of TimerReset */
|
||||
|
||||
|
||||
|
|
|
@ -99,8 +99,10 @@ void TimerInit(void)
|
|||
****************************************************************************************/
|
||||
void TimerReset(void)
|
||||
{
|
||||
/* set the systick's status and control register back into the default reset value */
|
||||
/* set the systick's registers back into the default reset value */
|
||||
SYSTICK->CTRL = 0;
|
||||
SYSTICK->LOAD = 0;
|
||||
SYSTICK->VAL = 0;
|
||||
} /* end of TimerReset */
|
||||
|
||||
|
||||
|
|
|
@ -99,8 +99,10 @@ void TimerInit(void)
|
|||
****************************************************************************************/
|
||||
void TimerReset(void)
|
||||
{
|
||||
/* set the systick's status and control register back into the default reset value */
|
||||
/* set the systick's registers back into the default reset value */
|
||||
SYSTICK->CTRL = 0;
|
||||
SYSTICK->LOAD = 0;
|
||||
SYSTICK->VAL = 0;
|
||||
} /* end of TimerReset */
|
||||
|
||||
|
||||
|
|
|
@ -70,8 +70,10 @@ void TimerInit(void)
|
|||
****************************************************************************************/
|
||||
void TimerReset(void)
|
||||
{
|
||||
/* Set the systick's status and control register back into the default reset value. */
|
||||
/* Set the systick's registers back into the default reset value. */
|
||||
S32_SysTick->CSR = 0;
|
||||
S32_SysTick->RVR = 0;
|
||||
S32_SysTick->CVR = 0;
|
||||
} /* end of TimerReset */
|
||||
|
||||
|
||||
|
|
|
@ -99,8 +99,10 @@ void TimerInit(void)
|
|||
****************************************************************************************/
|
||||
void TimerReset(void)
|
||||
{
|
||||
/* set the systick's status and control register back into the default reset value */
|
||||
/* set the systick's registers back into the default reset value */
|
||||
SYSTICK->CTRL = 0;
|
||||
SYSTICK->LOAD = 0;
|
||||
SYSTICK->VAL = 0;
|
||||
} /* end of TimerReset */
|
||||
|
||||
|
||||
|
|
|
@ -99,8 +99,10 @@ void TimerInit(void)
|
|||
****************************************************************************************/
|
||||
void TimerReset(void)
|
||||
{
|
||||
/* set the systick's status and control register back into the default reset value */
|
||||
/* set the systick's registers back into the default reset value */
|
||||
SYSTICK->CTRL = 0;
|
||||
SYSTICK->LOAD = 0;
|
||||
SYSTICK->VAL = 0;
|
||||
} /* end of TimerReset */
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue