byte swapping routines in PSoC creator

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Are there byte swapping routines in PSoC creator environment, e.g htonl, ntohl etc etc?

   

Thank you

   

Andy

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

There are assembly instructions to convert little endian to big endian: REV and REV16.

   

 

   

Bob

View solution in original post

0 Likes
2 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

There are assembly instructions to convert little endian to big endian: REV and REV16.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Great! Thank you!

0 Likes