stepRocker 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 
35 
37 extern UCHAR StallFlag[N_O_MOTORS];
38 extern UINT StallLevel[N_O_MOTORS];
46 extern int ClosedLoopPositionOffset[N_O_MOTORS];
47 extern int EncoderOffset[N_O_MOTORS];
48 extern UINT GearRatio[N_O_MOTORS];
49 extern UCHAR DeviationFlag[N_O_MOTORS];
50 
51 extern UCHAR ExitTMCLFlag;
UCHAR MotorDisable[N_O_MOTORS]
actual motor disable flags
Definition: Globals.c:102
UCHAR VMaxModified[N_O_MOTORS]
TRUE when motor max. speed has been changed by ROL/ROR command.
Definition: Globals.c:107
UCHAR FreewheelingActive[N_O_MOTORS]
freewheeling flags
Definition: Globals.c:104
coolStep configuration data
Definition: stepRocker.h:129
TCoolStepConfig CoolStepConfig[N_O_MOTORS]
coolStep configuration
Definition: Globals.c:106
Global module settings.
Definition: stepRocker.h:66
TMotorConfig MotorConfig[N_O_MOTORS]
Motor configuration data.
Definition: Globals.c:45
UCHAR StandbyFlag[N_O_MOTORS]
standby current flags
Definition: Globals.c:103
UCHAR ExitTMCLFlag
This will be set to TRUE for exiting TMCL and branching to the boot loader.
Definition: Globals.c:113
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:101
UCHAR SlowRunCurrent[N_O_MOTORS]
slow run current
Definition: Globals.c:105
unsigned int UINT
32 bits unsigned
Definition: stepRocker.h:33
TClosedLoopConfig ClosedLoopConfig[N_O_MOTORS]
Closed loop configuration.
Definition: Globals.c:71
Definition: stepRocker.h:101
UCHAR StallFlag[N_O_MOTORS]
actual stallGuard flag states
Definition: Globals.c:99
#define N_O_MOTORS
number of motors supported by this module
Definition: stepRocker.h:44
Motor configuration data.
Definition: stepRocker.h:77
unsigned char UCHAR
8 bits unsigned
Definition: stepRocker.h:31
UINT StallLevel[N_O_MOTORS]
actual stallGuard load values
Definition: Globals.c:100
UCHAR SmartEnergy[N_O_MOTORS]
actual smartEnergy values
Definition: Globals.c:98