stepRocker Open Source TMCL  1.00
 All Data Structures Files Functions Variables Typedefs Enumerations Macros
Functions | Variables
SysTick.c File Reference

1ms system tick timer functions More...

#include "derivative.h"
#include "bits.h"
#include "stepRocker.h"
Include dependency graph for SysTick.c:

Functions

void SysTick_Handler (void)
 System timer interrupt handler. More...
 
UINT GetSysTimer (void)
 Read the system timer. More...
 

Variables

static volatile UINT TickCounter
 System tick counter.
 
volatile UINT UARTTransmitDelayTimer
 Timer for delay between receiving and sending (gets decremented in the system timer interrupt)
 
volatile UCHAR UARTTimeoutFlag
 Timeout flag (gets set in the system timer interrupt)
 
volatile UINT UARTTimeoutTimer
 Timeout timer (gets deceremented in the system timer interrupt)
 

Detailed Description

1ms system tick timer functions

Author
Trinamic Motion Control GmbH & Co KG
Version
2.20

This file provides all functions needed for easy access to the TMC262 stepper motor driver IC.

Function Documentation

GetSysTimer ( void  )

Read the system timer.

Returns
System timer (1ms)

This function returns the actual value of the 1ms system timer.

Here is the caller graph for this function:

SysTick_Handler ( void  )

System timer interrupt handler.

The system timer interrupt handler counts up the 1ms counter.