|
Lely core libraries
1.9.2
|
A CANopen NMT 'boot slave' state. More...

Data Fields | |
| co_nmt_boot_state_t *(* | on_enter )(co_nmt_boot_t *boot) |
| A pointer to the function invoked when a new state is entered. | |
| co_nmt_boot_state_t *(* | on_time )(co_nmt_boot_t *boot, const struct timespec *tp) |
| A pointer to the transition function invoked when a timeout occurs. More... | |
| co_nmt_boot_state_t *(* | on_recv )(co_nmt_boot_t *boot, const struct can_msg *msg) |
| A pointer to the transition function invoked when a CAN frame has been received. More... | |
| co_nmt_boot_state_t *(* | on_dn_con )(co_nmt_boot_t *boot, co_unsigned32_t ac) |
| A pointer to the transition function invoked when an SDO download request completes. More... | |
| co_nmt_boot_state_t *(* | on_up_con )(co_nmt_boot_t *boot, co_unsigned32_t ac, const void *ptr, size_t n) |
| A pointer to the transition function invoked when an SDO upload request completes. More... | |
| co_nmt_boot_state_t *(* | on_cfg_con )(co_nmt_boot_t *boot, co_unsigned32_t ac) |
| A pointer to the transition function invoked when an NMT 'configuration request' completes. More... | |
| void(* | on_leave )(co_nmt_boot_t *boot) |
| A pointer to the function invoked when the current state is left. | |
A CANopen NMT 'boot slave' state.
Definition at line 203 of file nmt_boot.c.
| co_nmt_boot_state_t*(* __co_nmt_boot_state::on_time) (co_nmt_boot_t *boot, const struct timespec *tp) |
A pointer to the transition function invoked when a timeout occurs.
| boot | a pointer to a 'boot slave' service. |
| tp | a pointer to the current time. |
Definition at line 214 of file nmt_boot.c.
| co_nmt_boot_state_t*(* __co_nmt_boot_state::on_recv) (co_nmt_boot_t *boot, const struct can_msg *msg) |
A pointer to the transition function invoked when a CAN frame has been received.
| boot | a pointer to a 'boot slave' service. |
| msg | a pointer to the received CAN frame. |
Definition at line 225 of file nmt_boot.c.
| co_nmt_boot_state_t*(* __co_nmt_boot_state::on_dn_con) (co_nmt_boot_t *boot, co_unsigned32_t ac) |
A pointer to the transition function invoked when an SDO download request completes.
| boot | a pointer to a 'boot slave' service. |
| ac | the SDO abort code (0 on success). |
Definition at line 236 of file nmt_boot.c.
| co_nmt_boot_state_t*(* __co_nmt_boot_state::on_up_con) (co_nmt_boot_t *boot, co_unsigned32_t ac, const void *ptr, size_t n) |
A pointer to the transition function invoked when an SDO upload request completes.
| boot | a pointer to a 'boot slave' service. |
| ac | the SDO abort code. |
| ptr | a pointer to the uploaded bytes. |
| n | the number of bytes at ptr. |
Definition at line 249 of file nmt_boot.c.
| co_nmt_boot_state_t*(* __co_nmt_boot_state::on_cfg_con) (co_nmt_boot_t *boot, co_unsigned32_t ac) |
A pointer to the transition function invoked when an NMT 'configuration request' completes.
| boot | a pointer to a 'boot slave' service. |
| ac | the SDO abort code (0 on success). |
Definition at line 260 of file nmt_boot.c.