Lely core libraries 2.3.4
__co_lss Struct Reference

A CANopen LSS master/slave service. More...

Collaboration diagram for __co_lss:

Data Fields

co_nmt_tnmt
 A pointer to an NMT master/slave service.
 
can_net_tnet
 A pointer to a CAN network interface.
 
co_dev_tdev
 A pointer to a CANopen device.
 
co_lss_state_tstate
 A pointer to the current state.
 
int master
 A flag specifying whether the LSS service is a master or a slave.
 
co_unsigned16_t inhibit
 The inhibit time (in multiples of 100 microseconds).
 
int next
 The index of the next frame to be sent.
 
can_recv_trecv
 A pointer to the CAN frame receiver.
 
int timeout
 The timeout (in milliseconds).
 
can_timer_ttimer
 A pointer to the CAN timer.
 
co_unsigned8_t cs
 The expected command specifier.
 
co_unsigned8_t lsspos
 The LSSPos value.
 
struct co_id lo
 The lower bound of the LSS address used during the Slowscan service.
 
struct co_id hi
 The upper bound of the LSS address used during the Slowscan service.
 
struct co_id mask
 The mask used during the Fastscan service.
 
co_unsigned8_t bitchk
 The least-significant bit being checked during the Fastscan service.
 
co_unsigned8_t lsssub
 The index of the current LSS number being checked during the Fastscan service.
 
co_unsigned8_t err
 The received error code.
 
co_unsigned8_t spec
 The received implementation-specific error code.
 
co_unsigned32_t lssid
 The received LSS number.
 
co_unsigned8_t nid
 The received node-ID.
 
struct co_id id
 The LSS address obtained from the LSS Slowscan or Fastscan service.
 
co_lss_rate_ind_trate_ind
 A pointer to the 'activate bit timing' indication function.
 
void * rate_data
 A pointer to user-specified data for rate_ind.
 
co_lss_store_ind_tstore_ind
 A pointer to the 'store configuration' indication function.
 
void * store_data
 A pointer to user-specified data for store_ind.
 
co_lss_cs_ind_tcs_ind
 A pointer to the command indication function.
 
void * cs_data
 A pointer to user-specified data for cs_ind.
 
co_lss_err_ind_terr_ind
 A pointer to the error indication function.
 
void * err_data
 A pointer to user-specified data for err_ind.
 
co_lss_lssid_ind_tlssid_ind
 A pointer to the inquire identity indication function.
 
void * lssid_data
 A pointer to user-specified data for lssid_ind.
 
co_lss_nid_ind_tnid_ind
 A pointer to the inquire node-ID indication function.
 
void * nid_data
 A pointer to user-specified data for nid_ind.
 
co_lss_scan_ind_tscan_ind
 A pointer to the identify remote slave indication function.
 
void * scan_data
 A pointer to user-specified data for scan_ind.
 

Detailed Description

A CANopen LSS master/slave service.

Definition at line 44 of file lss.c.


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