A CANopen NMT state.
More...
|
co_nmt_state_t *(* | on_enter )(co_nmt_t *nmt) |
| A pointer to the function invoked when a new state is entered.
|
|
co_nmt_state_t *(* | on_cs )(co_nmt_t *nmt, co_unsigned8_t cs) |
| A pointer to the transition function invoked when an NMT command is received.
|
|
co_nmt_state_t *(* | on_boot )(co_nmt_t *nmt, co_unsigned8_t id, co_unsigned8_t st, char es) |
| A pointer to the transition function invoked when an 'boot slave' process completes.
|
|
void(* | on_leave )(co_nmt_t *nmt) |
| A pointer to the function invoked when the current state is left.
|
|
A CANopen NMT state.
Definition at line 482 of file nmt.c.
◆ on_cs
A pointer to the transition function invoked when an NMT command is received.
- Parameters
-
- Returns
- a pointer to the next state.
Definition at line 496 of file nmt.c.
◆ on_boot
A pointer to the transition function invoked when an 'boot slave' process completes.
- Parameters
-
nmt | a pointer to an NMT master service. |
id | the node-ID of the slave. |
st | the state of the node (including the toggle bit). |
es | the error status (in the range ['A'..'O'], or 0 on success). |
- Returns
- a pointer to the next state.
Definition at line 510 of file nmt.c.
The documentation for this struct was generated from the following file: