??? 05/10/08 05:58 Read: times |
#154639 - Struct to Byte stream and vice versa.. |
I have a struct as below :
struct config { float PA1; unsigned int PA2; unsigned int PA3; unsigned int PA4; unsigned long PA5 ; } HSD_Config; I want to save all the members of the struct to Flash memory of a Silabs 80c51F020 and retrieve them back when needed. What would be the pseudo code to do that ? ( sorry - if its too basic a question but somehow I have not been able to figure out a good way to do this ) Thanks Raghu |
Topic | Author | Date |
Struct to Byte stream and vice versa.. | 01/01/70 00:00 | |
Assuming you can read and write 1 byte | 01/01/70 00:00 | |
Yes I got it.![]() | 01/01/70 00:00 |