On Sun, Feb 7, 2010 at 11:38 AM, Marc Kleine-Budde <[email protected]> wrote:
> One of these errors can go to 255 which is 0x100, and doesn't fit into

> an u8.
>

Huh sorry, for the mcp251x they are just 8 bit, I guess you mean that
other controllers might have larger values, don't you? I checked a
book about CAN and all examples show 255 like the maximum value *but*
then I read in the text "If the transmission counter value exceeds 255
(! 256), the CAN station (node) is said to have". So I guess you are
right, they should be more than u8.

-- 
Christian Pellegrin, see http://www.evolware.org/chri/
"Real Programmers don't play tennis, or any other sport which requires
you to change clothes. Mountain climbing is OK, and Real Programmers
wear their climbing boots to work in case a mountain should suddenly
spring up in the middle of the computer room."
_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users

Reply via email to