Thomson
Full Member level 3
Hello,
Currently, I encountered one confusing problem about converting the 32-bit data variable into 4 8-bit data variables. Although i've searched some C reference books about this conversion; however i've no idea whetehr it's good for current my embedded system development.
Some Information: the project i'm implementing is concerning the 8051 MCU which can access byte per cycle; however the internal data bus is AHB bus which is 32-bit. Therefore the atomic data handling unit is 32-bit including the data and address!
Are there good suggestios?
Thansk in advance!
Thomson
Currently, I encountered one confusing problem about converting the 32-bit data variable into 4 8-bit data variables. Although i've searched some C reference books about this conversion; however i've no idea whetehr it's good for current my embedded system development.
Some Information: the project i'm implementing is concerning the 8051 MCU which can access byte per cycle; however the internal data bus is AHB bus which is 32-bit. Therefore the atomic data handling unit is 32-bit including the data and address!
Are there good suggestios?
Thansk in advance!
Thomson