CANopenNode
CANopen protocol stack
Loading...
Searching...
No Matches

CANopen Node Guarding slave and master objects. More...

+ Include dependency graph for CO_Node_Guarding.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  CO_nodeGuardingSlave_t
 Node Guarding slave object. More...
 
struct  CO_nodeGuardingMasterNode_t
 Node Guarding master - monitored node. More...
 
struct  CO_nodeGuardingMaster_t
 Node Guarding master object. More...
 

Functions

CO_ReturnError_t CO_nodeGuardingSlave_init (CO_nodeGuardingSlave_t *ngs, OD_entry_t *OD_100C_GuardTime, OD_entry_t *OD_100D_LifeTimeFactor, CO_EM_t *em, uint16_t CANidNodeGuarding, CO_CANmodule_t *CANdevRx, uint16_t CANdevRxIdx, CO_CANmodule_t *CANdevTx, uint16_t CANdevTxIdx, uint32_t *errInfo)
 Initialize Node Guarding slave object.
 
void CO_nodeGuardingSlave_process (CO_nodeGuardingSlave_t *ngs, CO_NMT_internalState_t NMTstate, bool_t slaveDisable, uint32_t timeDifference_us, uint32_t *timerNext_us)
 Process Node Guarding slave.
 
static bool_t CO_nodeGuardingSlave_isTimeout (CO_nodeGuardingSlave_t *ngs)
 Inquire, if Node guarding slave detected life time timeout.
 
CO_ReturnError_t CO_nodeGuardingMaster_init (CO_nodeGuardingMaster_t *ngm, CO_EM_t *em, CO_CANmodule_t *CANdevRx, uint16_t CANdevRxIdx, CO_CANmodule_t *CANdevTx, uint16_t CANdevTxIdx)
 Initialize Node Guarding master object.
 
CO_ReturnError_t CO_nodeGuardingMaster_initNode (CO_nodeGuardingMaster_t *ngm, uint8_t index, uint8_t nodeId, uint16_t guardTime_ms)
 Initialize node inside Node Guarding master object.
 
void CO_nodeGuardingMaster_process (CO_nodeGuardingMaster_t *ngm, uint32_t timeDifference_us, uint32_t *timerNext_us)
 Process Node Guarding master.
 

Detailed Description

CANopen Node Guarding slave and master objects.

Author
Janez Paternoster

This file is part of https://github.com/CANopenNode/CANopenNode, a CANopen Stack.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.