大家好,使用28335也有1年多了,这个数制问题一直困扰我,就是如何自己定义8位的int型整数?在网上搜到的 typedef CPU_INT08U uint8; //[0 255],这个能用么?谢谢大家~
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
大家好,使用28335也有1年多了,这个数制问题一直困扰我,就是如何自己定义8位的int型整数?在网上搜到的 typedef CPU_INT08U uint8; //[0 255],这个能用么?谢谢大家~
binchao
我用例程编译了一下,没有问题。
我是在device.h中添加的
#ifndef DSP28_DATA_TYPES
#define DSP28_DATA_TYPES
typedef int int16;
typedef long int32;
typedef unsigned int Uint16;
typedef unsigned long Uint32;
typedef float float32;
typedef long double float64;
typedef unsigned char uint8_t;
typedef char int8_t;
#endif
Eric