• Home • Files • Structures         • Download

compiler.h File Reference

Definition of compiler independent data types. More...

This graph shows which files directly or indirectly include this file:


Detailed Description

Due to different implementations of data types in the world of C compilers, the following data types are used for CANpie API:
  • _BIT : Boolean value, True or False
  • _U08 : 1 Byte value, value range 0 .. 28 - 1 (0 .. 255)
  • _S08 : 1 Byte value, value range -27 .. 27 - 1 (-128 .. 127)
  • _U16 : 2 Byte value, value range 0 .. 216 - 1 (0 .. 65535)
  • _S16 : 2 Byte value, value range -215 .. 215 - 1
  • _U32 : 4 Byte value, value range 0 .. 232 - 1
  • _S32 : 4 Byte value, value range -231 .. 231 - 1
The compiler type/version is evaluated via its internal predefined symbols. If your compiler is not (yet) supported, you will get the following error message upon compilation:

Data types are not defined! Please check compiler definition.


 

© MicroControl GmbH & Co. KG

CANpie - V2.00