_WriteGear() is only used within STemWin_SampleDemo.
 
Symbols
loading...
Files
loading...

_WriteGear() function

_WriteGear Description: Show current gear

Syntax

static void _WriteGear(int Gear);

Arguments

Gear

References

LocationReferrerText
GUIDEMO_Automotive.c:293
static void _WriteGear(int Gear) {
GUIDEMO_Automotive.c:318_GetAngle_0()
if ((tDiff >= 1250) && (tDiff < 3250)) { _WriteGear(2); return 225 - 15 - 0.0375 * (tDiff - 1250); }
GUIDEMO_Automotive.c:321_GetAngle_0()
if ((tDiff >= 3500) && (tDiff < 6000)) { _WriteGear(3); return 225 - 15 - 0.03 * (tDiff - 3500); }
GUIDEMO_Automotive.c:324_GetAngle_0()
if ((tDiff >= 6250) && (tDiff < 9250)) { _WriteGear(4); return 225 - 15 - 0.025 * (tDiff - 6250); }
GUIDEMO_Automotive.c:327_GetAngle_0()
if ((tDiff >= 9500) && (tDiff < 15000)) { _WriteGear(5); return 225 - 15 - 0.0035 * (tDiff - 9500); }
GUIDEMO_Automotive.c:452_AutomotiveDemo()
_WriteGear(1);

Call Tree

Functions calling _WriteGear()
Functions called by _WriteGear()
all items filtered out
_WriteGear()
Data read by _WriteGear()
Data written by _WriteGear()
_WriteGear()::xSize
_WriteGear()::ySize
all items filtered out
_WriteGear()
_WriteGear()::xSize
_WriteGear()::ySize
all items filtered out