Ruben,
1. From the real time point of view array and a struct will be the same. My appealing way ( :) ) seems to be more readable. 2. I agree with Marcus that it's best to use uint64_t - this way your 128 variable will consist only from 2 other variables. Arik On Thu, Jan 21, 2010 at 11:00, Marcus Autenrieth <[email protected]> wrote: > Hi, > > Am Wed, 20 Jan 2010 22:01:42 +0100 > schrieb Ruben Rios <[email protected]>: > > > a) which option do you recommend me for the implementation of the 128 > > bit data type, a struct containing several uintX_t or an array of > > uintX_t ??? > To me Arik's variant with the struct looked very appealing. > > > b) should I use uint8_t, uint16_t, uint32_t or uint64_t ??? > I think I would use a struct with two uint64_t, in the hope that it > mitigates most bit-twiddling issues. > > Best regards,... > -- > Marcus. > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Best Regards, Arik Sapojnik [email protected]
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
