This file is part of the CANopen library; it contains the implementation of the NMT 'configuration request' functions.
More...
|
| static void | co_nmt_cfg_dn_con (co_csdo_t *sdo, co_unsigned16_t idx, co_unsigned8_t subidx, co_unsigned32_t ac, void *data) |
| | The CANopen SDO download confirmation callback function for a 'configuration request'. More...
|
| |
|
static void | co_nmt_cfg_enter (co_nmt_cfg_t *cfg, co_nmt_cfg_state_t *next) |
| | Enters the specified state of a 'configuration request; and invokes the exit and entry functions.
|
| |
| static void | co_nmt_cfg_emit_dn_con (co_nmt_cfg_t *cfg, co_unsigned16_t idx, co_unsigned8_t subidx, co_unsigned32_t ac) |
| | Invokes the 'SDO download confirmation' transition function of the current state of a 'boot slave' service. More...
|
| |
| static void | co_nmt_cfg_emit_res (co_nmt_cfg_t *cfg, co_unsigned32_t ac) |
| | Invokes the 'result received' transition function of the current state of a 'configuration request'. More...
|
| |
|
static co_nmt_cfg_state_t * | co_nmt_cfg_init_on_enter (co_nmt_cfg_t *cfg) |
| | The entry function of the 'initialization' state.
|
| |
|
static co_nmt_cfg_state_t * | co_nmt_cfg_init_on_res (co_nmt_cfg_t *cfg, co_unsigned32_t ac) |
| | The 'result received' function of the 'initialization' state.
|
| |
|
static co_nmt_cfg_state_t * | co_nmt_cfg_abort_on_enter (co_nmt_cfg_t *cfg) |
| | The entry function of the 'abort' state.
|
| |
|
static co_nmt_cfg_state_t * | co_nmt_cfg_restore_on_enter (co_nmt_cfg_t *cfg) |
| | The entry function of the 'restore configuration' state.
|
| |
|
static co_nmt_cfg_state_t * | co_nmt_cfg_restore_on_dn_con (co_nmt_cfg_t *cfg, co_unsigned16_t idx, co_unsigned8_t subidx, co_unsigned32_t ac) |
| | The 'SDO download confirmation' transition function of the 'restore configuration' state.
|
| |
| co_nmt_cfg_t * | co_nmt_cfg_create (can_net_t *net, co_dev_t *dev, co_nmt_t *nmt) |
| | Creates a new CANopen NMT 'configuration request'. More...
|
| |
| void | co_nmt_cfg_destroy (co_nmt_cfg_t *cfg) |
| | Destroys a CANopen NMT 'configuration request'. More...
|
| |
| int | co_nmt_cfg_cfg_req (co_nmt_cfg_t *cfg, co_unsigned8_t id, int timeout, co_csdo_ind_t *dn_ind, co_csdo_ind_t *up_ind, void *data) |
| | Starts a CANopen NMT 'configuration request'. More...
|
| |
| int | co_nmt_cfg_cfg_res (co_nmt_cfg_t *cfg, co_unsigned32_t ac) |
| | Indicates the result of the 'update configuration' step of an NMT 'configuration request'. More...
|
| |
This file is part of the CANopen library; it contains the implementation of the NMT 'configuration request' functions.
- See also
- src/nmt_cfg.h
- Copyright
- 2017-2018 Lely Industries N.V.
- Author
- J. S. Seldenthuis jseld.nosp@m.enth.nosp@m.uis@l.nosp@m.ely..nosp@m.com
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.
Definition in file nmt_cfg.c.