1.3.27.5 1.4.23.5 1.5.27.5 1.6.23.5 1.7.24.5 1.8.21.5 1.9.22.5 1.29.25.5 1.30.19.5 1.31.19.5 1.32.28.5 1.33.17.5 1.34.22.5 1.35.15.5 1.36.17.5 1.37.19.5 1.38.23.5 1.39.20.5 1.40.22.5 1.41.20.5 1.42.19.5 SYSTICK_TimerPeriodSet Function

C

void SYSTICK_TimerPeriodSet( uint32_t period )

Summary

Set the SysTick Load Value

Description

This function is used to update SysTick Load value

Preconditions

Systick should be stopped prior to setting up the new Load value by calling SYSTICK_TimerStop. This will make sure that the new value is used for the next Tick

Parameters

Param Description
period The period is specified as a number of clock ticks between SysTick interrupt. It must be between 1 and 16,777,216, inclusive.

Returns

None.

Example

SYSTICK_TimerStop();

SYSTICK_TimerPeriodSet(0x00004567);

SYSTICK_TimerStart();