Data types definition in DSP28xx and x86 project

Source: Internet
Author: User
#ifndef _DataType_H_#define _DataType_H_/**************************************************************************** * Data types collection choice * * Supported types collection: * (1) PC  : X86_X64_DATA_TYPES * (2) DSP : DSP28_DATA_TYPES * ****************************************************************************/#define X86_X64_DATA_TYPES/**************************************************************************** * Data types definition for X86 and X64 PC * * Required definiton: X86_X64_DATA_TYPES *  ****************************************************************************/#ifdef X86_X64_DATA_TYPEStypedef __int8 int8;typedef unsigned __int8Uint8;typedef unsigned __int8 byte;typedef __int16 int16;typedef unsigned __int16 Uint16;typedef __int32 int32;typedef unsigned __int32 Uint32;typedef __int64 int64;typedef unsigned __int64 Uint64;//typedef float float32;//typedef long double float64;#endif // X86_X64_DATA_TYPES/**************************************************************************** * Data types definition for DSP28xx * * Required definiton: X86_X64_DATA_TYPES * ****************************************************************************/#ifdef DSP28_DATA_TYPEStypedef char int8;typedef unsigned char Uint8;typedef unsigned char byte;typedef int int16;typedef unsigned int Uint16;typedef long int32;typedef unsigned long Uint32;typedef long long int64;typedef unsigned long long Uint64;//typedef float float32;//typedef long double float64;#endif // DSP28_DATA_TYPES#endif // _DataType_H_

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.