7 Teleservice Application Framework
User Manual 126/374
7.3.2 Notation
The following gives you a quick overview about how a function description in this document looks like.
7.3.2.1 Types and Prefixes
Header file: "stwtypes.h"
STW type definitions
Used types like 'word', 'long' or 'dword' are mistakable. They can have a different meaning, depending on the
platform where they are used.
The meaning of 'word' means 16 bits at a 16-bit controller like the Infineon C167 or the Freescale 68k. At a 32-
bit controller like the used TriCore processor 'word' means 32 bits. On TriCore hardware 16 bits are called a
'halfword' instead.
To avoid confusions STW introduced clear types like 'uint16'.
Recommended clear type definitions and prefixes
Range (hexadecimal - HEX)
- 2147483648 ..
+2147483647
0x0000000000000000 ..
0xFFFFFFFFFFFFFFFF
0 ..
18446744073709551615
0x8000000000000000 ..
0x7FFFFFFFFFFFFFFF
-
9223372036854775808
..
+9223372036854775807
0, ±1.18E- 38 ..
±3.4E38 (decimal places
6..7)
float (FPU: IEEE-
754)
single precision
0, ±2.225E- 308 ..
±1.798E+308 (decimal