2 Replies Latest reply on Jun 28, 2017 9:55 AM by user_199038981

    PSoC 5 Endian vs PSoC 3

    user_199038981

      Hi,

         

      My program has hard coded default values that are uint32. In trying to reuse code from PSoC 3 programs we've done in the past, I noticed in debug that the bytes of the values are the reverse of the those in the PSoC 3. For instance if I store a value of 0x1E000000, and I view it in Debug mode, it is stored as 0x0000001E. The values are retrieved correctly but in my case, I store different items in bytes of the uint32. Is there a flag or option that can flip the Endian byte order or do I have to live with this?

         

      Thank you,

         

      Nick