stepRocker servo Open Source TMCL  1.00
 All Data Structures Files Functions Variables Typedefs Enumerations Macros
Globals.h
Go to the documentation of this file.
1 /*******************************************************************************
2  Project: stepRocker Mini-TMCL (for stepRocker V2.2)
3 
4  Modul: Globals.h
5  Global variables and data structures.
6 
7  Copyright (C) 2016 TRINAMIC Motion Control GmbH & Co KG
8  Waterloohain 5
9  D - 22769 Hamburg, Germany
10  http://www.trinamic.com/
11 
12  This program is free software; you can redistribute it and/or modify it
13  freely.
14 
15  This program is distributed "as is" in the hope that it will be useful, but
16  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
17  or FITNESS FOR A PARTICULAR PURPOSE.
18 *******************************************************************************/
19 
20 
33 extern TMotorConfig MotorConfig[3];
34 
36 extern UCHAR StallFlag[N_O_MOTORS];
37 extern UINT StallLevel[N_O_MOTORS];
44 
45 extern UCHAR ExitTMCLFlag;
UCHAR MotorDisable[N_O_MOTORS]
actual motor disable flags
Definition: Globals.c:63
UCHAR FreewheelingActive[N_O_MOTORS]
freewheeling flags
Definition: Globals.c:65
coolStep configuration data
Definition: stepRocker.h:90
TCoolStepConfig CoolStepConfig[N_O_MOTORS]
coolStep configuration
Definition: Globals.c:67
Global module settings.
Definition: stepRocker.h:65
UCHAR StandbyFlag[N_O_MOTORS]
standby current flags
Definition: Globals.c:64
UCHAR ExitTMCLFlag
This will be set to TRUE for exiting TMCL and branching to the boot loader.
Definition: Globals.c:69
TModuleConfig ModuleConfig
Global parameters (here only used for the RS232 interface)
Definition: Globals.c:34
UCHAR DriverFlags[N_O_MOTORS]
actual driver error flags
Definition: Globals.c:62
UCHAR SlowRunCurrent[N_O_MOTORS]
slow run current
Definition: Globals.c:66
unsigned int UINT
32 bits unsigned
Definition: stepRocker.h:33
TMotorConfig MotorConfig[3]
Motor configuration data.
Definition: Globals.c:45
UCHAR StallFlag[N_O_MOTORS]
actual stallGuard flag states
Definition: Globals.c:60
#define N_O_MOTORS
number of motors supported by this module
Definition: stepRocker.h:44
Motor configuration data.
Definition: stepRocker.h:76
unsigned char UCHAR
8 bits unsigned
Definition: stepRocker.h:31
UINT StallLevel[N_O_MOTORS]
actual stallGuard load values
Definition: Globals.c:61
UCHAR SmartEnergy[N_O_MOTORS]
actual smartEnergy values
Definition: Globals.c:59