23 #ifndef LELY_CO_INTERN_NMT_SRV_H_
24 #define LELY_CO_INTERN_NMT_SRV_H_
80 #define CO_NMT_SRV_PDO 0x01
83 #define CO_NMT_SRV_SDO 0x02
86 #define CO_NMT_SRV_SYNC 0x04
89 #define CO_NMT_SRV_TIME 0x08
92 #define CO_NMT_SRV_EMCY 0x10
95 #define CO_NMT_SRV_LSS 0x20
This header file is part of the CANopen library; it contains the network management (NMT) declaration...
void co_nmt_srv_set(struct co_nmt_srv *srv, co_nmt_t *nmt, int set)
Enables/disables the specified CANopen services.
void co_nmt_srv_fini(struct co_nmt_srv *srv)
Finalizes a CANopen NMT service manager.
void co_nmt_srv_init(struct co_nmt_srv *srv, co_nmt_t *nmt)
Initializes a CANopen NMT service manager.
This is the internal header file of the CANopen library.
A CANopen EMCY producer/consumer service.
A CANopen LSS master/slave service.
A CANopen NMT master/slave service.
A CANopen SYNC producer/consumer service.
A CANopen TIME producer/consumer service.
A CANopen NMT service manager.
co_tpdo_t ** tpdos
An array of pointers to the Transmit-PDO services.
co_unsigned16_t ntpdo
The number of Transmit-PDO services.
co_lss_t * lss
A pointer to the LSS master/slave service.
co_ssdo_t ** ssdos
An array of pointers to the Server-SDO services.
int set
The currently enabled CANopen services (any combination of CO_NMT_SRV_PDO, CO_NMT_SRV_SDO,...
co_rpdo_t ** rpdos
An array of pointers to the Receive-PDO services.
co_unsigned8_t ncsdo
The number of Client-SDO services.
co_unsigned8_t nssdo
The number of Server-SDO services.
co_nmt_t * nmt
A pointer to the NMT master/slave service.
co_time_t * time
A pointer to the TIME producer/consumer service.
co_csdo_t ** csdos
An array of pointers to the Client-SDO services.
co_emcy_t * emcy
A pointer to the EMCY producer/consumer service.
co_unsigned16_t nrpdo
The number of Receive-PDO services.
co_sync_t * sync
A pointer to the SYNC producer/consumer service.