iLLD_TC29x  1.0
Ifx_TypesGnuc.h
Go to the documentation of this file.
1 /**
2  * \file Ifx_TypesGnuc.h
3  * \version iLLD_1_0_0_11_0
4  * \copyright Copyright (c) 2012 Infineon Technologies AG. All rights reserved.
5  *
6  *
7  * IMPORTANT NOTICE
8  *
9  *
10  * Infineon Technologies AG (Infineon) is supplying this file for use
11  * exclusively with Infineon's microcontroller products. This file can be freely
12  * distributed within development tools that are supporting such microcontroller
13  * products.
14  *
15  * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
16  * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
17  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
18  * INFINEON SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL,
19  * OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
20  *
21  */
22 #ifndef IFX_TYPESGNUC_H_
23 #define IFX_TYPESGNUC_H_
24 /******************************************************************************/
25 #define FRACT_MAX 0x7fffffff
26 
27 #include <machine/cint.h>
28 #define __interrupt(intno)
29 
30 typedef long fract;
31 typedef short sfract;
32 typedef long long laccum;
33 typedef long __packb; //MSMRK should be struct of four chars
34 typedef unsigned long __upackb; //MSMRK should be struct of four unsigned chars
35 typedef long __packhw; //MSMRK should be struct of two shorts
36 typedef unsigned long __upackhw; //MSMRK should be struct of two unsigned shorts
37 /******************************************************************************/
38 
39 #endif /* IFX_TYPESGNUC_H_ */