Contiki 3.x
|
Functions that configure the System. More...
Functions | |
__STATIC_INLINE uint32_t | SysTick_Config (uint32_t ticks) |
System Tick Configuration. More... | |
Functions that configure the System.
__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.
[in] | ticks | Number of ticks between two interrupts. |
Definition at line 676 of file core_cm0.h.
References __NVIC_PRIO_BITS, NVIC_SetPriority(), SysTick, SysTick_CTRL_CLKSOURCE_Msk, SysTick_CTRL_ENABLE_Msk, SysTick_CTRL_TICKINT_Msk, SysTick_IRQn, and SysTick_LOAD_RELOAD_Msk.
Referenced by clock_init().