David Giles
/
CM-MBED_RSEDP_Test_Suite_LPC1768_V3
This is a complete listing of the RS-EDP software for the mbed module to support the RS-EDP platform.
Diff: HeaderFiles/misra_types.h
- Revision:
- 0:5b7639d1f2c4
diff -r 000000000000 -r 5b7639d1f2c4 HeaderFiles/misra_types.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/HeaderFiles/misra_types.h Fri Nov 19 09:49:16 2010 +0000 @@ -0,0 +1,32 @@ +/* Hitex Standard Header File */ +/* Types As Recommended By MISRA */ + + + +/* Bytes (8bit length) */ +typedef unsigned char uint8_t; +typedef char sint8_t; + +/* Half Words (16bit lengths) */ +typedef unsigned short uint16_t; +typedef short sint16_t; + +/* Words (32bit lengths) */ +/* Also int */ +typedef unsigned int uint32_t; +typedef long sint32_t; + +/* Double Words */ +/* Also long long and long double */ +typedef unsigned long long uint64_t; +typedef long long sint64_t; + + +/* + Constants should use the following suffixes also + +u - Unsigned +f - floating +L - Long double (64bit) + +*/