This file is part of the CANopen library; it contains the implementation of the NMT service manager functions.
More...
|
static void | co_nmt_srv_init_pdo (struct co_nmt_srv *srv, can_net_t *net, co_dev_t *dev) |
| Initializes all Receive/Transmit-PDO services.
|
|
static void | co_nmt_srv_fini_pdo (struct co_nmt_srv *srv) |
| Finalizes all Receive/Transmit-PDO services.
|
|
static void | co_nmt_srv_rpdo_err (co_rpdo_t *pdo, co_unsigned16_t eec, co_unsigned8_t er, void *data) |
| Invokes co_nmt_err() to handle Receive-PDO errors.
|
|
static void | co_nmt_srv_init_sdo (struct co_nmt_srv *srv, can_net_t *net, co_dev_t *dev) |
| Initializes all Server/Client-SDO services.
|
|
static void | co_nmt_srv_fini_sdo (struct co_nmt_srv *srv) |
| Finalizes all Server/Client-SDO services.
|
|
static void | co_nmt_srv_init_sync (struct co_nmt_srv *srv, can_net_t *net, co_dev_t *dev) |
| Initializes the SYNC producer/consumer service.
|
|
static void | co_nmt_srv_fini_sync (struct co_nmt_srv *srv) |
| Finalizes the SYNC producer/consumer service.
|
|
static void | co_nmt_srv_sync_ind (co_sync_t *sync, co_unsigned8_t cnt, void *data) |
| Invokes co_nmt_sync() to handle SYNC objects.
|
|
static void | co_nmt_srv_sync_err (co_sync_t *sync, co_unsigned16_t eec, co_unsigned8_t er, void *data) |
| Invokes co_nmt_err() to handle SYNC errors.
|
|
static void | co_nmt_srv_init_time (struct co_nmt_srv *srv, can_net_t *net, co_dev_t *dev) |
| Initializes the TIME producer/consumer service.
|
|
static void | co_nmt_srv_fini_time (struct co_nmt_srv *srv) |
| Finalizes the TIME producer/consumer service.
|
|
static void | co_nmt_srv_init_emcy (struct co_nmt_srv *srv, can_net_t *net, co_dev_t *dev) |
| Initializes the EMCY producer/consumer service.
|
|
static void | co_nmt_srv_fini_emcy (struct co_nmt_srv *srv) |
| Finalizes the EMCY producer/consumer service.
|
|
static void | co_nmt_srv_init_lss (struct co_nmt_srv *srv, co_nmt_t *nmt) |
| Initializes the LSS master/slave service.
|
|
static void | co_nmt_srv_fini_lss (struct co_nmt_srv *srv) |
| Finalizes the EMCY master/slave service.
|
|
void | co_nmt_srv_init (struct co_nmt_srv *srv, co_nmt_t *nmt) |
| Initializes a CANopen NMT service manager.
|
|
void | co_nmt_srv_fini (struct co_nmt_srv *srv) |
| Finalizes a CANopen NMT service manager.
|
|
void | co_nmt_srv_set (struct co_nmt_srv *srv, co_nmt_t *nmt, int set) |
| Enables/disables the specified CANopen services.
|
|
This file is part of the CANopen library; it contains the implementation of the NMT service manager functions.
- See also
- src/nmt_srv.h
- Copyright
- 2017-2020 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_srv.c.