Home
last modified time | relevance | path

Searched refs:emPr (Results 1 – 6 of 6) sorted by relevance

/canopennode-2.7.6/stack/
DCO_Emergency.c65 CO_EMpr_t *emPr; in CO_ODF_1003() local
69 emPr = (CO_EMpr_t*) ODF_arg->object; in CO_ODF_1003()
74 noOfErrors = emPr->preDefErrNoOfErrors; in CO_ODF_1003()
90 emPr->preDefErrNoOfErrors = 0U; in CO_ODF_1003()
131 CO_EMpr_t *emPr, in CO_EM_init() argument
147 if(em==NULL || emPr==NULL || SDO==NULL || errorStatusBits==NULL || errorStatusBitsSize<6U || in CO_EM_init()
162 emPr->em = em; in CO_EM_init()
163 emPr->errorRegister = errorRegister; in CO_EM_init()
164 emPr->preDefErr = preDefErr; in CO_EM_init()
165 emPr->preDefErrSize = preDefErrSize; in CO_EM_init()
[all …]
DCO_NMT_Heartbeat.c53 if((*NMT->emPr->errorRegister) == 0U){ in CO_NMT_receive()
83 CO_EMpr_t *emPr, in CO_NMT_init() argument
94 if(NMT==NULL || emPr==NULL || NMT_CANdev==NULL || HB_CANdev==NULL){ in CO_NMT_init()
118 NMT->emPr = emPr; in CO_NMT_init()
251 …if(CO_isError(NMT->emPr->em, CO_EM_CAN_TX_BUS_PASSIVE) || CO_isError(NMT->emPr->em, CO_EM_CAN_RX_B… in CO_NMT_process()
266 if(CO_isError(NMT->emPr->em, CO_EM_CAN_TX_BUS_OFF)) in CO_NMT_process()
269 else if(CO_isError(NMT->emPr->em, CO_EM_SYNC_TIME_OUT)) in CO_NMT_process()
272 …else if(CO_isError(NMT->emPr->em, CO_EM_HEARTBEAT_CONSUMER) || CO_isError(NMT->emPr->em, CO_EM_HB_… in CO_NMT_process()
275 else if(CANpassive || CO_isError(NMT->emPr->em, CO_EM_CAN_BUS_WARNING)) in CO_NMT_process()
299 else if(CO_isError(NMT->emPr->em, CO_EM_CAN_TX_BUS_OFF) in CO_NMT_process()
[all …]
DCO_NMT_Heartbeat.h148 CO_EMpr_t *emPr; /**< From CO_NMT_init() */ member
177 CO_EMpr_t *emPr,
DCO_Emergency.h375 CO_EMpr_t *emPr,
440 CO_EMpr_t *emPr,
/canopennode-2.7.6/
DCANopen.c222 if((*co->NMT->emPr->errorRegister) == 0) { in CO_sendNMTcommand()
296 CO->emPr = &COO_EMpr; in CO_new()
340 CO->emPr = (CO_EMpr_t *) calloc(1, sizeof(CO_EMpr_t)); in CO_new()
425 if(CO->emPr == NULL) errCnt++; in CO_new()
563 CO->emPr, in CO_CANopenInit()
581 CO->emPr, in CO_CANopenInit()
825 free(CO->emPr); in CO_delete()
873 co->emPr, in CO_process()
DCANopen.h125 CO_EMpr_t *emPr; /**< Emergency process object */ member