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.
HeaderFiles/misra_types.h@0:5b7639d1f2c4, 2010-11-19 (annotated)
- Committer:
- DavidGilesHitex
- Date:
- Fri Nov 19 09:49:16 2010 +0000
- Revision:
- 0:5b7639d1f2c4
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
DavidGilesHitex | 0:5b7639d1f2c4 | 1 | /* Hitex Standard Header File */ |
DavidGilesHitex | 0:5b7639d1f2c4 | 2 | /* Types As Recommended By MISRA */ |
DavidGilesHitex | 0:5b7639d1f2c4 | 3 | |
DavidGilesHitex | 0:5b7639d1f2c4 | 4 | |
DavidGilesHitex | 0:5b7639d1f2c4 | 5 | |
DavidGilesHitex | 0:5b7639d1f2c4 | 6 | /* Bytes (8bit length) */ |
DavidGilesHitex | 0:5b7639d1f2c4 | 7 | typedef unsigned char uint8_t; |
DavidGilesHitex | 0:5b7639d1f2c4 | 8 | typedef char sint8_t; |
DavidGilesHitex | 0:5b7639d1f2c4 | 9 | |
DavidGilesHitex | 0:5b7639d1f2c4 | 10 | /* Half Words (16bit lengths) */ |
DavidGilesHitex | 0:5b7639d1f2c4 | 11 | typedef unsigned short uint16_t; |
DavidGilesHitex | 0:5b7639d1f2c4 | 12 | typedef short sint16_t; |
DavidGilesHitex | 0:5b7639d1f2c4 | 13 | |
DavidGilesHitex | 0:5b7639d1f2c4 | 14 | /* Words (32bit lengths) */ |
DavidGilesHitex | 0:5b7639d1f2c4 | 15 | /* Also int */ |
DavidGilesHitex | 0:5b7639d1f2c4 | 16 | typedef unsigned int uint32_t; |
DavidGilesHitex | 0:5b7639d1f2c4 | 17 | typedef long sint32_t; |
DavidGilesHitex | 0:5b7639d1f2c4 | 18 | |
DavidGilesHitex | 0:5b7639d1f2c4 | 19 | /* Double Words */ |
DavidGilesHitex | 0:5b7639d1f2c4 | 20 | /* Also long long and long double */ |
DavidGilesHitex | 0:5b7639d1f2c4 | 21 | typedef unsigned long long uint64_t; |
DavidGilesHitex | 0:5b7639d1f2c4 | 22 | typedef long long sint64_t; |
DavidGilesHitex | 0:5b7639d1f2c4 | 23 | |
DavidGilesHitex | 0:5b7639d1f2c4 | 24 | |
DavidGilesHitex | 0:5b7639d1f2c4 | 25 | /* |
DavidGilesHitex | 0:5b7639d1f2c4 | 26 | Constants should use the following suffixes also |
DavidGilesHitex | 0:5b7639d1f2c4 | 27 | |
DavidGilesHitex | 0:5b7639d1f2c4 | 28 | u - Unsigned |
DavidGilesHitex | 0:5b7639d1f2c4 | 29 | f - floating |
DavidGilesHitex | 0:5b7639d1f2c4 | 30 | L - Long double (64bit) |
DavidGilesHitex | 0:5b7639d1f2c4 | 31 | |
DavidGilesHitex | 0:5b7639d1f2c4 | 32 | */ |