Skip to end of metadata
Go to start of metadata

Files

canopen_core.h

Structure Member Descriptions


NameDefinitionDescription
.RpdoOnRx CPU_INT16S(* RpdoOnRx) (CANOPEN_NODE_HANDLE handle, CANOPEN_IF_FRM *p_frm) This callback is used when a RPDO is received.
.TpdoOnTx void(* TpdoOnTx) (CANOPEN_NODE_HANDLE handle, CANOPEN_IF_FRM *p_frm) This callback is used before a TPDO is transmitted.
.StateOnChange void(* StateOnChange) (CANOPEN_NODE_HANDLE handle, CANOPEN_NODE_STATE state) This callback is used when the NMT state is changed.
.HbcOnEvent void(* HbcOnEvent) (CANOPEN_NODE_HANDLE handle, CPU_INT08U node_id) This callback is used when a heartbeat consumer monitor timer elapses, before receiving the corresponding heartbeat message.
.HbcOnChange void(* HbcOnChange) (CANOPEN_NODE_HANDLE handle, CPU_INT08U node_id, CANOPEN_NODE_STATE state) This callback is used when a heartbeat consumer monitor detects a state change, of a monitored node.
.ParamOnLoad CPU_BOOLEAN(* ParamOnLoad) (CANOPEN_NODE_HANDLE handle, CANOPEN_PARAM *p_pg) This callback is used when the NMT slave node is reseted by the NMT master node.
.ParamOnSave CPU_BOOLEAN(* ParamOnSave) (CANOPEN_NODE_HANDLE handle, CANOPEN_PARAM *p_pg) This callback is used when the standard object "Store" at index 0x1010 is written.
.ParamOnDflt CPU_BOOLEAN(* ParamOnDflt) (CANOPEN_NODE_HANDLE handle, CANOPEN_PARAM *p_pg) This callback is used when the standard object "Restore default parameters" at index 0x1011 is written.
  • No labels