Nut/OS  5.0.5
API Reference
System Tick Timer (SysTick)

Type definitions for the System Timer Registers. More...

Collaboration diagram for System Tick Timer (SysTick):

Data Structures

struct  SysTick_Type
 Structure type to access the System Timer (SysTick). More...

Defines

#define SysTick_CTRL_COUNTFLAG_Pos   16
#define SysTick_CTRL_COUNTFLAG_Msk   (1UL << SysTick_CTRL_COUNTFLAG_Pos)
#define SysTick_CTRL_CLKSOURCE_Pos   2
#define SysTick_CTRL_CLKSOURCE_Msk   (1UL << SysTick_CTRL_CLKSOURCE_Pos)
#define SysTick_CTRL_TICKINT_Pos   1
#define SysTick_CTRL_TICKINT_Msk   (1UL << SysTick_CTRL_TICKINT_Pos)
#define SysTick_CTRL_ENABLE_Pos   0
#define SysTick_CTRL_ENABLE_Msk   (1UL << SysTick_CTRL_ENABLE_Pos)
#define SysTick_LOAD_RELOAD_Pos   0
#define SysTick_LOAD_RELOAD_Msk   (0xFFFFFFUL << SysTick_LOAD_RELOAD_Pos)
#define SysTick_VAL_CURRENT_Pos   0
#define SysTick_VAL_CURRENT_Msk   (0xFFFFFFUL << SysTick_VAL_CURRENT_Pos)
#define SysTick_CALIB_NOREF_Pos   31
#define SysTick_CALIB_NOREF_Msk   (1UL << SysTick_CALIB_NOREF_Pos)
#define SysTick_CALIB_SKEW_Pos   30
#define SysTick_CALIB_SKEW_Msk   (1UL << SysTick_CALIB_SKEW_Pos)
#define SysTick_CALIB_TENMS_Pos   0
#define SysTick_CALIB_TENMS_Msk   (0xFFFFFFUL << SysTick_VAL_CURRENT_Pos)
#define SysTick_CTRL_COUNTFLAG_Pos   16
#define SysTick_CTRL_COUNTFLAG_Msk   (1UL << SysTick_CTRL_COUNTFLAG_Pos)
#define SysTick_CTRL_CLKSOURCE_Pos   2
#define SysTick_CTRL_CLKSOURCE_Msk   (1UL << SysTick_CTRL_CLKSOURCE_Pos)
#define SysTick_CTRL_TICKINT_Pos   1
#define SysTick_CTRL_TICKINT_Msk   (1UL << SysTick_CTRL_TICKINT_Pos)
#define SysTick_CTRL_ENABLE_Pos   0
#define SysTick_CTRL_ENABLE_Msk   (1UL << SysTick_CTRL_ENABLE_Pos)
#define SysTick_LOAD_RELOAD_Pos   0
#define SysTick_LOAD_RELOAD_Msk   (0xFFFFFFUL << SysTick_LOAD_RELOAD_Pos)
#define SysTick_VAL_CURRENT_Pos   0
#define SysTick_VAL_CURRENT_Msk   (0xFFFFFFUL << SysTick_VAL_CURRENT_Pos)
#define SysTick_CALIB_NOREF_Pos   31
#define SysTick_CALIB_NOREF_Msk   (1UL << SysTick_CALIB_NOREF_Pos)
#define SysTick_CALIB_SKEW_Pos   30
#define SysTick_CALIB_SKEW_Msk   (1UL << SysTick_CALIB_SKEW_Pos)
#define SysTick_CALIB_TENMS_Pos   0
#define SysTick_CALIB_TENMS_Msk   (0xFFFFFFUL << SysTick_VAL_CURRENT_Pos)

Detailed Description

Type definitions for the System Timer Registers.


Define Documentation

#define SysTick_CTRL_COUNTFLAG_Pos   16

SysTick CTRL: COUNTFLAG Position

#define SysTick_CTRL_COUNTFLAG_Msk   (1UL << SysTick_CTRL_COUNTFLAG_Pos)

SysTick CTRL: COUNTFLAG Mask

#define SysTick_CTRL_CLKSOURCE_Pos   2

SysTick CTRL: CLKSOURCE Position

#define SysTick_CTRL_CLKSOURCE_Msk   (1UL << SysTick_CTRL_CLKSOURCE_Pos)

SysTick CTRL: CLKSOURCE Mask

Referenced by SysTick_Config().

#define SysTick_CTRL_TICKINT_Pos   1

SysTick CTRL: TICKINT Position

#define SysTick_CTRL_TICKINT_Msk   (1UL << SysTick_CTRL_TICKINT_Pos)

SysTick CTRL: TICKINT Mask

Referenced by IntDisable(), IntEnable(), IntIsEnabled(), NutArchMicroDelay(), and SysTick_Config().

#define SysTick_CTRL_ENABLE_Pos   0

SysTick CTRL: ENABLE Position

#define SysTick_CTRL_ENABLE_Msk   (1UL << SysTick_CTRL_ENABLE_Pos)

SysTick CTRL: ENABLE Mask

Referenced by NutArchMicroDelay(), and SysTick_Config().

#define SysTick_LOAD_RELOAD_Pos   0

SysTick LOAD: RELOAD Position

#define SysTick_LOAD_RELOAD_Msk   (0xFFFFFFUL << SysTick_LOAD_RELOAD_Pos)

SysTick LOAD: RELOAD Mask

Referenced by SysTick_Config().

#define SysTick_VAL_CURRENT_Pos   0

SysTick VAL: CURRENT Position

#define SysTick_VAL_CURRENT_Msk   (0xFFFFFFUL << SysTick_VAL_CURRENT_Pos)

SysTick VAL: CURRENT Mask

#define SysTick_CALIB_NOREF_Pos   31

SysTick CALIB: NOREF Position

#define SysTick_CALIB_NOREF_Msk   (1UL << SysTick_CALIB_NOREF_Pos)

SysTick CALIB: NOREF Mask

#define SysTick_CALIB_SKEW_Pos   30

SysTick CALIB: SKEW Position

#define SysTick_CALIB_SKEW_Msk   (1UL << SysTick_CALIB_SKEW_Pos)

SysTick CALIB: SKEW Mask

#define SysTick_CALIB_TENMS_Pos   0

SysTick CALIB: TENMS Position

#define SysTick_CALIB_TENMS_Msk   (0xFFFFFFUL << SysTick_VAL_CURRENT_Pos)

SysTick CALIB: TENMS Mask

#define SysTick_CTRL_COUNTFLAG_Pos   16

SysTick CTRL: COUNTFLAG Position

#define SysTick_CTRL_COUNTFLAG_Msk   (1UL << SysTick_CTRL_COUNTFLAG_Pos)

SysTick CTRL: COUNTFLAG Mask

#define SysTick_CTRL_CLKSOURCE_Pos   2

SysTick CTRL: CLKSOURCE Position

#define SysTick_CTRL_CLKSOURCE_Msk   (1UL << SysTick_CTRL_CLKSOURCE_Pos)

SysTick CTRL: CLKSOURCE Mask

#define SysTick_CTRL_TICKINT_Pos   1

SysTick CTRL: TICKINT Position

#define SysTick_CTRL_TICKINT_Msk   (1UL << SysTick_CTRL_TICKINT_Pos)

SysTick CTRL: TICKINT Mask

#define SysTick_CTRL_ENABLE_Pos   0

SysTick CTRL: ENABLE Position

#define SysTick_CTRL_ENABLE_Msk   (1UL << SysTick_CTRL_ENABLE_Pos)

SysTick CTRL: ENABLE Mask

#define SysTick_LOAD_RELOAD_Pos   0

SysTick LOAD: RELOAD Position

#define SysTick_LOAD_RELOAD_Msk   (0xFFFFFFUL << SysTick_LOAD_RELOAD_Pos)

SysTick LOAD: RELOAD Mask

#define SysTick_VAL_CURRENT_Pos   0

SysTick VAL: CURRENT Position

#define SysTick_VAL_CURRENT_Msk   (0xFFFFFFUL << SysTick_VAL_CURRENT_Pos)

SysTick VAL: CURRENT Mask

#define SysTick_CALIB_NOREF_Pos   31

SysTick CALIB: NOREF Position

#define SysTick_CALIB_NOREF_Msk   (1UL << SysTick_CALIB_NOREF_Pos)

SysTick CALIB: NOREF Mask

#define SysTick_CALIB_SKEW_Pos   30

SysTick CALIB: SKEW Position

#define SysTick_CALIB_SKEW_Msk   (1UL << SysTick_CALIB_SKEW_Pos)

SysTick CALIB: SKEW Mask

#define SysTick_CALIB_TENMS_Pos   0

SysTick CALIB: TENMS Position

#define SysTick_CALIB_TENMS_Msk   (0xFFFFFFUL << SysTick_VAL_CURRENT_Pos)

SysTick CALIB: TENMS Mask