A CANopen NMT 'configuration request' state.
More...
|
|
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.
|
| |
| 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.
|
| |
|
void(* | on_leave )(co_nmt_cfg_t *cfg) |
| | A pointer to the function invoked when the current state is left.
|
| |
A CANopen NMT 'configuration request' state.
Definition at line 96 of file nmt_cfg.c.
◆ on_res
A pointer to the transition function invoked when an NMT'update configuration' step completes.
- Parameters
-
| cfg | a pointer to a 'configuration request'. |
| ac | the 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
A pointer to the transition function invoked when an SDO download request completes.
- Parameters
-
| cfg | a pointer to a 'configuration request'. |
| idx | the object index. |
| subidx | the object sub-index. |
| ac | the 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: