函数调用关系
states.c canDispatch->proceedSYNC
UNS8 proceedSYNC(CO_Data* d) {
UNS8 res; MSG_WAR(0x3002, "SYNC received. Proceed. ", 0); (*d->post_sync)(d); //sync.c void _post_sync(CO_Data* d){}
/* only operational state allows PDO transmission */ if(! d->CurrentCommunicationState.csPDO) return 0;
res = _sendPDOevent(d, 1 /*isSyncEvent*/ ); /*Call user app callback*/ (*d->post_TPDO)(d); //sync.c void _post_TPDO(CO_Data* d){} return res; }
CanFestival 没有实现时间戳功能
|