how the bytes ordered in mpc8313

Yoni Levin yoni.l at slyde-tech.com
Thu Aug 9 01:26:48 EST 2007


I have mpc83xx,

I saw that I need to use swab32 to any read\write operation from registers,

I don't understand why I need it?

Do I need it for all registers?

Why in the mpc8313 reference in registers description some bits look like
31,30,29,.,3,2,1,0

And some: 0,1,2,3.,30,31

Is it just mistake? Or some registers are different then other? 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20070808/70ee7c2f/attachment.htm 


More information about the Linuxppc-embedded mailing list