Definition:
Parameters:
| addr | - | IIC address of the specified GPM. |
Return Value:
An int equivalent of three consecutive numeric characters stored in the specified GPM.
Description:
This routine reads three consecutive byte registers from a GPM and converts them into a single int value. The registers must contain ASCII text digits. This routine is used in macro calls to access 3-digit values in the GPM. See the documentation for the GPS Module for more details regarding GPM registers and functions.
Example:
#include <aGPM.tea>
x=aGPM_Get3DigitInt((unsigned char)0xD0, 18);
This would set variable x to the 3-digit value stored at register locations 18,19,20 in the GPM.
Related:
aGPM_Get2DigitInt, aGPM_GetYear, aGPM_GetAltitude, aGPM_GetAnalogInput, aGPM_GetHours, aGPM_GetMinutes, aGPM_GetSeconds, aGPM_GetDay, aGPM_GetMonth, aGPM_GetLatitudeDegrees, aGPM_GetLatitudeMinutes, aGPM_GetLatitudeFrac, aGPM_GetLatitudeDirChar, aGPM_GetLongitudeDegrees, aGPM_GetLongitudeMinutes, aGPM_GetLongitudeFrac, aGPM_GetLongitudeDirChar, aGPM_GetGPSQuality, aGPM_GetSatellitesInUse, aGPM_GetHDOP, aGPM_GetTrueHeading, aGPM_GetTrueHeadingFrac, aGPM_GetMagHeading, aGPM_GetMagHeadingFrac, aGPM_GetSpeed, aGPM_GetSpeedFrac, aGPM_GetSatelliteID, aGPM_GetSatelliteSignalLevel, aGPM_GetDigitalIO, aGPM_GetPosFoundFlag, aGPM_GetStatus, aGPM_SetPortDir, aGPM_SetPortBits
version: 1.0, build n.a.
© Copyright 1994-2012 Acroname, Inc., Boulder, Colorado. All rights reserved.