2474 views|0 replies

3836

Posts

19

Resources
The OP
 

C2000 DSP basic data types [Copy link]

Generally speaking, on most platforms, a byte is 8 bits, char occupies 8 bits of space, and int occupies 32 bits of space. However, on TI C2000 DSP, this is not the case. On C2000 series DSP, byte = 16 bits, char = short = int = 16 bits, long = 32 bits, long long = 64 bits.

However, if you look closely at the C language standard, you will find that it does not specify how many digits a char can have, and it only specifies that long ≥ int ≥ short ≥ char . This also reminds us not to rely too much on so-called experience, and not to take it for granted...

This post is from Microcontroller MCU
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list