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
STW
type
Prefix Size Range (hexadecimal - HEX)
Range (decimal - DEC)
C equivalent
uint8
u8_
8 bit 0x00 .. 0xFF
0 .. 255
unsigned char
sint8
s8_
8 bit 0x80 .. 0x7F
-128 .. +127
signed char
uint16
u16_
16
bit
0x0000 .. 0xFFFF
0 .. 65535
unsigned short
int
sint16
s16_
16
bit
0x8000 .. 0x7FFF
-32768 .. +32767
signed short int
uint32
u32_
32
bit
0x00000000 .. 0xFFFFFFFF
0 .. 4294967295
unsigned long int
sint32
s32_
32
bit
0x80000000 .. 0x7FFFFFFF
- 2147483648 ..
+2147483647
signed long int
uint64
u64_
64
bit
0x0000000000000000 ..
0xFFFFFFFFFFFFFFFF
0 ..
18446744073709551615
unsigned long
long int
sint64
s64_
64
bit
0x8000000000000000 ..
0x7FFFFFFFFFFFFFFF
-
9223372036854775808
..
+9223372036854775807
signed long long
int
float32
f32_
32
bit
[
±2
-126
.. ±2
127
]
0,
±1.18E- 38 ..
±3.4E38 (decimal places
6..7)
float (FPU: IEEE-
754)
single precision
float64
f64_
64
bit
[
±2
-1022
.. ±2
1023
]
0,
±2.225E- 308 ..
±1.798E+308 (decimal
double (SW:
IEEE-754)
Summary of Contents for TC1
Page 1: ...TC1 User Manual Version of this document V1 00r0 ...
Page 25: ...5 Hardware User Manual 25 374 5 2 2 Block Diagram Variant TC1 WIFI ...
Page 34: ...5 Hardware User Manual 34 374 5 6 Housing Connector Top view and side view Bottom View ...
Page 125: ...7 Teleservice Application Framework User Manual 125 374 TAF overview ...
Page 190: ...7 Teleservice Application Framework User Manual 190 374 How the logger mechanism works ...