include/can.h
changeset 691 17d9c0736935
parent 561 f9be4262c68d
equal deleted inserted replaced
690:1c2cb6088050 691:17d9c0736935
    23 #ifndef __can_h__
    23 #ifndef __can_h__
    24 #define __can_h__
    24 #define __can_h__
    25 
    25 
    26 #include "applicfg.h"
    26 #include "applicfg.h"
    27 
    27 
    28 /*
       
    29 union SHORT_CAN {
       
    30   struct { UNS8 b0,b1; } b;
       
    31   UNS32 w;
       
    32 };
       
    33 */
       
    34 /*
       
    35 typedef struct {
       
    36   UNS32 w;
       
    37 } SHORT_CAN;
       
    38 */
       
    39 
       
    40 /** 
    28 /** 
    41  * @brief The CAN message structure 
    29  * @brief The CAN message structure 
    42  * @ingroup can
    30  * @ingroup can
    43  */
    31  */
    44 typedef struct {
    32 typedef struct {