include/objdictdef.h
changeset 235 f812bf6b7237
parent 161 c4908cc776a9
child 349 1e6dd4ef46b9
equal deleted inserted replaced
234:5a17bcb520ef 235:f812bf6b7237
    65 /* CanFestival is using 0x24 to 0xFF to define some types containing a 
    65 /* CanFestival is using 0x24 to 0xFF to define some types containing a 
    66  value range (See how it works in objdict.c)
    66  value range (See how it works in objdict.c)
    67  */
    67  */
    68 
    68 
    69 
    69 
    70 
       
    71 /** definitions of the different types of PDOs' transmission
       
    72  * 
       
    73  * SYNCHRO(n) means that the PDO will be transmited every n SYNC signal.
       
    74  */
       
    75 #define TRANS_EVERY_N_SYNC(n) (n) /*n = 1 to 240 */
       
    76 #define TRANS_SYNC_MIN        1    /* Trans after reception of n SYNC. n = 1 to 240 */
       
    77 #define TRANS_SYNC_MAX        240  /* Trans after reception of n SYNC. n = 1 to 240 */
       
    78 #define TRANS_RTR_SYNC        252  /* Transmission on request */
       
    79 #define TRANS_RTR             253  /* Transmission on request */
       
    80 #define TRANS_EVENT           255  /* Transmission on event */
       
    81 
       
    82 /** Each entry of the object dictionary can be READONLY (RO), READ/WRITE (RW),
    70 /** Each entry of the object dictionary can be READONLY (RO), READ/WRITE (RW),
    83  *  WRITE-ONLY (WO)
    71  *  WRITE-ONLY (WO)
    84  */
    72  */
    85 #define RW     0x00  
    73 #define RW     0x00  
    86 #define WO     0x01
    74 #define WO     0x01