Fork of the official mbed C/C++ SDK provides the software platform and libraries to build your applications. The fork has the documentation converted to Doxygen format

Dependents:   NervousPuppySprintOne NervousPuppySprint2602 Robot WarehouseBot1 ... more

Fork of mbed by mbed official

Embed: (wiki syntax)

« Back to documentation index

SysTick Functions

Functions that configure the System. More...

Functions

__STATIC_INLINE uint32_t SysTick_Config (uint32_t ticks)
 System Tick Configuration.

Detailed Description

Functions that configure the System.


Function Documentation

__STATIC_INLINE uint32_t SysTick_Config ( uint32_t  ticks )

System Tick Configuration.

The function initializes the System Timer and its interrupt, and starts the System Tick Timer. Counter is in free running mode to generate periodic interrupts.

Parameters:
[in]ticksNumber of ticks between two interrupts.
Returns:
0 Function succeeded.
1 Function failed.
Note:
When the variable __Vendor_SysTickConfig is set to 1, then the function SysTick_Config is not included. In this case, the file device.h must contain a vendor-specific implementation of this function.

Definition at line 639 of file core_cm0.h.