Lely core libraries  1.9.2
__co_nmt_cfg_state Struct Reference

A CANopen NMT 'configuration request' state. More...

Collaboration diagram for __co_nmt_cfg_state:

Data Fields

co_nmt_cfg_state_t *(* on_enter )(co_nmt_cfg_t *cfg)
 A pointer to the function invoked when a new state is entered.
 
co_nmt_cfg_state_t *(* on_res )(co_nmt_cfg_t *cfg, co_unsigned32_t ac)
 A pointer to the transition function invoked when an NMT'update configuration' step completes. More...
 
co_nmt_cfg_state_t *(* on_dn_con )(co_nmt_cfg_t *cfg, co_unsigned16_t idx, co_unsigned8_t subidx, co_unsigned32_t ac)
 A pointer to the transition function invoked when an SDO download request completes. More...
 
void(* on_leave )(co_nmt_cfg_t *cfg)
 A pointer to the function invoked when the current state is left.
 

Detailed Description

A CANopen NMT 'configuration request' state.

Definition at line 96 of file nmt_cfg.c.

Field Documentation

◆ on_res

co_nmt_cfg_state_t*(* __co_nmt_cfg_state::on_res) (co_nmt_cfg_t *cfg, co_unsigned32_t ac)

A pointer to the transition function invoked when an NMT'update configuration' step completes.

Parameters
cfga pointer to a 'configuration request'.
acthe SDO abort code (0 on success).
Returns
a pointer to the next state.

Definition at line 108 of file nmt_cfg.c.

◆ on_dn_con

co_nmt_cfg_state_t*(* __co_nmt_cfg_state::on_dn_con) (co_nmt_cfg_t *cfg, co_unsigned16_t idx, co_unsigned8_t subidx, co_unsigned32_t ac)

A pointer to the transition function invoked when an SDO download request completes.

Parameters
cfga pointer to a 'configuration request'.
idxthe object index.
subidxthe object sub-index.
acthe SDO abort code (0 on success).
Returns
a pointer to the next state.

Definition at line 120 of file nmt_cfg.c.


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