Herzog Library 00.00.01  rel_libdev.herzog.00.00.01.10606
Functions
systick_sfrs.h File Reference

Go to the source code of this file.

Functions

static __INLINE void f_SYSTICK_Enable (void)
 Enable SysTick timer. More...
 
static __INLINE void f_SYSTICK_Disable (void)
 Disable SysTick timer. More...
 
static __INLINE uint8_t f_SYSTICK_IsEnabled (void)
 Check if SysTick timer enable. More...
 
static __INLINE void f_SYSTICK_IntEnable (void)
 Enable SysTick timer interrupt. More...
 
static __INLINE void f_SYSTICK_IntDisable (void)
 Disable SysTick timer interrupt. More...
 
static __INLINE void f_SYSTICK_SetLoad (uint32_t ticks)
 Set Reload value of SysTick timer. More...
 
static __INLINE void f_SYSTICK_SetCount (uint32_t ticks)
 Set counter value of SysTick timer. More...
 
static __INLINE uint32_t f_SYSTICK_GetCount (void)
 Get counter value of SysTick timer. More...
 
static __INLINE uint32_t f_SYSTICK_GetLoad (void)
 Get load value of SysTick timer. More...
 

Detailed Description

This file is proprietary to Indie Semiconductor. All rights reserved. Reproduction or distribution, in whole or in part, is forbidden except by express written permission of Indie Semiconductor.

Function Documentation

static __INLINE void f_SYSTICK_Disable ( void  )
static

Disable SysTick timer.

static __INLINE void f_SYSTICK_Enable ( void  )
static

Enable SysTick timer.

static __INLINE uint32_t f_SYSTICK_GetCount ( void  )
static

Get counter value of SysTick timer.

Returns
The current counter of Systick timer.
static __INLINE uint32_t f_SYSTICK_GetLoad ( void  )
static

Get load value of SysTick timer.

Returns
The load setting of Systick timer.
static __INLINE void f_SYSTICK_IntDisable ( void  )
static

Disable SysTick timer interrupt.

static __INLINE void f_SYSTICK_IntEnable ( void  )
static

Enable SysTick timer interrupt.

static __INLINE uint8_t f_SYSTICK_IsEnabled ( void  )
static

Check if SysTick timer enable.

Returns
0 if disable.
static __INLINE void f_SYSTICK_SetCount ( uint32_t  ticks)
static

Set counter value of SysTick timer.

Parameters
ticksThe tick number to be set.
static __INLINE void f_SYSTICK_SetLoad ( uint32_t  ticks)
static

Set Reload value of SysTick timer.

Parameters
ticksThe tick number to be set.