Modification of mbed-src library only for STM32F030F4, very cheap microcontroller in 20-Pin TSSOP package, with 16Kbytes of Flash and 4Kbytes of Ram. **Target for online compilator must be Nucleo 32F030R8.**

Dependents:   STM32F031_blink_LED_2

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 656 of file core_cm0.h.