Lely core libraries  2.2.5
co_nmt_slave Struct Reference

A struct containing the state of an NMT slave. More...

Collaboration diagram for co_nmt_slave:

Data Fields

co_nmt_tnmt
 A pointer to the NMT master service.
 
can_recv_trecv
 A pointer to the CAN frame receiver for the boot-up event and node guarding messages.
 
can_timer_ttimer
 A pointer to the CAN timer for node guarding.
 
co_unsigned32_t assignment
 The NMT slave assignment (object 1F81).
 
co_unsigned8_t est
 The expected state of the slave (excluding the toggle bit).
 
co_unsigned8_t rst
 The received state of the slave (including the toggle bit).
 
char es
 The error status of the 'boot slave' process.
 
int booted
 A flag specifying whether the 'boot slave' process has ended.
 
co_nmt_boot_tboot
 A pointer to the NMT 'boot slave' service.
 
co_nmt_cfg_tcfg
 A pointer to the NMT 'update configuration' service.
 
co_nmt_cfg_con_tcfg_con
 A pointer to the NMT 'configuration request' confirmation function.
 
void * cfg_data
 A pointer to user-specified data for cfg_con.
 
co_unsigned16_t gt
 The guard time (in milliseconds).
 
co_unsigned8_t ltf
 The lifetime factor.
 
co_unsigned8_t rtr
 The number of unanswered node guarding RTRs.
 
int ng_state
 Indicates whether a node guarding error occurred (CO_NMT_EC_OCCURRED or CO_NMT_EC_RESOLVED).
 

Detailed Description

A struct containing the state of an NMT slave.

Definition at line 61 of file nmt.c.


The documentation for this struct was generated from the following file: