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

Motor monitoring. More...

#include <limits.h>
#include <stdlib.h>
#include "derivative.h"
#include "bits.h"
#include "stepRocker.h"
#include "Globals.h"
#include "IO.h"
#include "SysTick.h"
#include "TMC429.h"
#include "TMC262.h"
Include dependency graph for SysControl.c:

Functions

void SystemControl (void)
 Motor monitoring. More...
 

Variables

static UCHAR ActualAxis
 monitored axis
 
static UINT Delay
 Delay timer.
 
static UCHAR StandbyTimerInitFlag
 TRUE after the standby timers have been intialized.
 
static UINT StandbyTimer [N_O_MOTORS]
 Standby timers.
 
static UINT FreewheelingTimer [N_O_MOTORS]
 Freewheeling timers.
 

Detailed Description

Motor monitoring.

Author
Trinamic Motion Control GmbH & Co KG
Version
2.20

This file contains the SystemControl function which does all necessary motor monitoring tasks.

Function Documentation

SystemControl ( void  )

Motor monitoring.

This function must be called periodically from the main loop and does some monitoring tasks, e.g. lowering the current after the motor has not been moving for some time.

Here is the call graph for this function:

Here is the caller graph for this function: