Functions

void app_systick_init (void)
 This function configures time base source, NVIC and Low level hardware. More...
 
void app_systick_deinit (void)
 This function de-Initializes common part of the HAL and stops the source of time base. More...
 

Detailed Description

Function Documentation

◆ app_systick_deinit()

void app_systick_deinit ( void  )

This function de-Initializes common part of the HAL and stops the source of time base.

Note
This function is optional.

◆ app_systick_init()

void app_systick_init ( void  )

This function configures time base source, NVIC and Low level hardware.

Note
This function is called at the beginning of program after reset and before the clock configuration. The Systick configuration is based on AHB clock and the NVIC configuration is set to Priority group 4. The time base configuration is done, time base tick starts incrementing. In the default implementation, Systick is used as source of time base. The tick variable is incremented each 1ms in its ISR.