|
| int | pbl_canopen_init (struct pbl_canopen *co, const struct pbl_canopen_config *cfg) |
| | Initialize a node, stopped.
|
| |
| int | pbl_canopen_start (struct pbl_canopen *co) |
| | Start the node: join the bus, restore every default and go pre-operational.
|
| |
| int | pbl_canopen_stop (struct pbl_canopen *co) |
| | Stop the node and leave the bus.
|
| |
| enum pbl_canopen_nmt_state | pbl_canopen_nmt_state (struct pbl_canopen *co) |
| | Get the NMT state.
|
| |
| int | pbl_canopen_od_read (struct pbl_canopen *co, uint16_t index, uint8_t subindex, void *data, size_t len) |
| | Read an entry of the object dictionary.
|
| |
| int | pbl_canopen_od_write (struct pbl_canopen *co, uint16_t index, uint8_t subindex, const void *data, size_t len) |
| | Write an entry of the object dictionary, whatever its access over the bus.
|
| |
| int | pbl_canopen_tpdo_request (struct pbl_canopen *co, uint16_t num) |
| | Request the transmission of a TPDO.
|
| |
| int | pbl_canopen_emcy_raise (struct pbl_canopen *co, uint16_t code, uint8_t reg, const uint8_t *msef) |
| | Raise an error: set its error register bits, add it to the error history and send an emergency message.
|
| |
| int | pbl_canopen_emcy_clear (struct pbl_canopen *co, uint16_t code) |
| | Clear an error raised by pbl_canopen_emcy_raise(), and send an error reset message.
|
| |