equal
deleted
inserted
replaced
62 static void *r_inputs; |
62 static void *r_inputs; |
63 static void *r_outputs; |
63 static void *r_outputs; |
64 #endif |
64 #endif |
65 |
65 |
66 #ifdef MAPPING |
66 #ifdef MAPPING |
|
67 const ec_pdo_entry_info_t el3162_channel1[] = { |
|
68 {0x3101, 1, 8}, // status |
|
69 {0x3101, 2, 16} // value |
|
70 }; |
|
71 |
|
72 const ec_pdo_entry_info_t el3162_channel2[] = { |
|
73 {0x3102, 1, 8}, // status |
|
74 {0x3102, 2, 16} // value |
|
75 }; |
|
76 |
67 const ec_pdo_info_t mapping[] = { |
77 const ec_pdo_info_t mapping[] = { |
68 {EC_DIR_INPUT, 0x1A00}, // channel 1 |
78 {EC_DIR_INPUT, 0x1A00, 2, el3162_channel1}, |
69 {EC_DIR_INPUT, 0x1A01} // channel 2 |
79 {EC_DIR_INPUT, 0x1A01, 2, el3162_channel2}, |
70 }; |
80 }; |
71 #endif |
81 #endif |
72 |
82 |
73 #ifdef PDOS |
83 #ifdef PDOS |
74 static uint8_t off_ana_in; |
84 static uint8_t off_ana_in; |