Home
last modified time | relevance | path

Searched refs:operatingState (Results 1 – 9 of 9) sorted by relevance

/canopennode-2.7.6/stack/
DCO_NMT_Heartbeat.c49 uint8_t currentOperatingState = NMT->operatingState; in CO_NMT_receive()
54 NMT->operatingState = CO_NMT_OPERATIONAL; in CO_NMT_receive()
58 NMT->operatingState = CO_NMT_STOPPED; in CO_NMT_receive()
61 NMT->operatingState = CO_NMT_PRE_OPERATIONAL; in CO_NMT_receive()
73 if(NMT->pFunctNMT!=NULL && currentOperatingState!=NMT->operatingState){ in CO_NMT_receive()
74 NMT->pFunctNMT(NMT->operatingState); in CO_NMT_receive()
109 NMT->operatingState = CO_NMT_INITIALIZING; in CO_NMT_init()
153 NMT->pFunctNMT(NMT->operatingState); in CO_NMT_initCallback()
211 uint8_t currentOperatingState = NMT->operatingState; in CO_NMT_process()
216 … if((HBtime != 0 && NMT->HBproducerTimer >= HBtime) || NMT->operatingState == CO_NMT_INITIALIZING){ in CO_NMT_process()
[all …]
DCO_TIME.c39 operState = *TIME->operatingState; in CO_TIME_receive()
56 uint8_t *operatingState, in CO_TIME_init() argument
65 if(TIME==NULL || em==NULL || SDO==NULL || operatingState==NULL || in CO_TIME_init()
86 TIME->operatingState = operatingState; in CO_TIME_init()
126 …if(*TIME->operatingState == CO_NMT_OPERATIONAL || *TIME->operatingState == CO_NMT_PRE_OPERATIONAL){ in CO_TIME_process()
151 && *TIME->operatingState == CO_NMT_OPERATIONAL) in CO_TIME_process()
DCO_SYNC.c45 operState = *SYNC->operatingState; in CO_SYNC_receive()
224 uint8_t *operatingState, in CO_SYNC_init() argument
236 if(SYNC==NULL || em==NULL || SDO==NULL || operatingState==NULL || in CO_SYNC_init()
262 SYNC->operatingState = operatingState; in CO_SYNC_init()
306 …if(*SYNC->operatingState == CO_NMT_OPERATIONAL || *SYNC->operatingState == CO_NMT_PRE_OPERATIONAL){ in CO_SYNC_process()
347 …if(SYNC->periodTime && SYNC->timer > SYNC->periodTimeoutTime && *SYNC->operatingState == CO_NMT_OP… in CO_SYNC_process()
DCO_PDO.h171 uint8_t *operatingState; /**< From CO_RPDO_init() */ member
201 uint8_t *operatingState; /**< From CO_TPDO_init() */ member
263 uint8_t *operatingState,
309 uint8_t *operatingState,
DCO_PDO.c49 (*RPDO->operatingState == CO_NMT_OPERATIONAL) && in CO_PDO_receive()
442 if(*RPDO->operatingState == CO_NMT_OPERATIONAL && (RPDO->restrictionFlags & 0x01)) in CO_ODF_RPDOcom()
518 if(*TPDO->operatingState == CO_NMT_OPERATIONAL && (TPDO->restrictionFlags & 0x01)) in CO_ODF_TPDOcom()
605 if(*RPDO->operatingState == CO_NMT_OPERATIONAL && (RPDO->restrictionFlags & 0x02)) in CO_ODF_RPDOmap()
671 if(*TPDO->operatingState == CO_NMT_OPERATIONAL && (TPDO->restrictionFlags & 0x02)) in CO_ODF_TPDOmap()
719 uint8_t *operatingState, in CO_RPDO_init() argument
731 if(RPDO==NULL || em==NULL || SDO==NULL || operatingState==NULL || in CO_RPDO_init()
742 RPDO->operatingState = operatingState; in CO_RPDO_init()
770 uint8_t *operatingState, in CO_TPDO_init() argument
782 if(TPDO==NULL || em==NULL || SDO==NULL || operatingState==NULL || in CO_TPDO_init()
[all …]
DCO_TIME.h81 uint8_t *operatingState; /**< From CO_TIME_init() */ member
130 uint8_t *operatingState,
DCO_SYNC.h69 uint8_t *operatingState; /**< From CO_SYNC_init() */ member
130 uint8_t *operatingState,
DCO_NMT_Heartbeat.h132 uint8_t operatingState; /**< See @ref CO_NMT_internalState_t */ member
/canopennode-2.7.6/
DCANopen.c223 co->NMT->operatingState = CO_NMT_OPERATIONAL; in CO_sendNMTcommand()
227 co->NMT->operatingState = CO_NMT_STOPPED; in CO_sendNMTcommand()
230 co->NMT->operatingState = CO_NMT_PRE_OPERATIONAL; in CO_sendNMTcommand()
623 &CO->NMT->operatingState, in CO_CANopenInit()
640 &CO->NMT->operatingState, in CO_CANopenInit()
660 &CO->NMT->operatingState, in CO_CANopenInit()
680 &CO->NMT->operatingState, in CO_CANopenInit()
852 …if(co->NMT->operatingState == CO_NMT_PRE_OPERATIONAL || co->NMT->operatingState == CO_NMT_OPERATIO… in CO_process()