mbed library sources
Fork of mbed-src by
SysTick Functions
[Functions and Instructions Reference]
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] ticks Number 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.
Generated on Tue Jul 12 2022 15:37:58 by 1.7.2