| [news.eclipse.dsdp.rtsc] Re: RTSC types |
According to the RTSC datatypes Int8 corresponds to int_least8_t or int_fast8_tThe choice of the type names Int8, Int16, and Int32 was richly debated by DSP/BIOS team and the TII CSL/PSP teams.
Bits8 on the contrary maps to int8_t (and int8_t is exactly 8 bits as per C standard).
So when using Int8 from RTSC, you could use 8 or 32 bit data type depending on the platform / compiler mapping of int_least8_t / int_fast8_t.
So to make sure you use 8 bits then you have to use Bits8.
TI has been using the tistdtypes.h where Int8 is 8 bit. When switching to RTSC types I am sure they will continue to use Int8 thinking it maps to exactly 8 bits but this is not the case (Int8 maps to int_least8_t or int_fast8_t). This is quite confusing.
Any comments.