File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change 2828
2929#include <inttypes.h>
3030
31- #define CO_SDO_xCS (v ) ((v)&0xE0)
32- #define CO_SDO_N (v ) (((v) >> 2) & 0x03)
33- #define CO_SDO_E BIT (1)
34- #define CO_SDO_S BIT (0)
35-
36- #define CO_SDO_CCS_DOWNLOAD_SEG_REQ (0 << 5)
37- #define CO_SDO_CCS_DOWNLOAD_INIT_REQ (1 << 5)
38- #define CO_SDO_CCS_UPLOAD_INIT_REQ (2 << 5)
39- #define CO_SDO_CCS_UPLOAD_SEG_REQ (3 << 5)
40-
41- #define CO_SDO_SCS_UPLOAD_SEG_RSP (0 << 5)
42- #define CO_SDO_SCS_DOWNLOAD_SEG_RSP (1 << 5)
43- #define CO_SDO_SCS_UPLOAD_INIT_RSP (2 << 5)
44- #define CO_SDO_SCS_DOWNLOAD_INIT_RSP (3 << 5)
45-
46- #define CO_SDO_xCS_ABORT (4 << 5)
47-
48- #define CO_SDO_TOGGLE BIT (4)
49- #define CO_SDO_N_SEG (v ) (((v) >> 1) & 0x07)
50- #define CO_SDO_C BIT (0)
51-
5231void co_sdo_abort (
5332 co_net_t * net ,
5433 uint16_t id ,
You can’t perform that action at this time.
0 commit comments