|
| | VirtualCanController (io_clock_t *clock, CanBusFlag flags=CanBusFlag::MASK, int nominal=0, int data=0, CanState state=CanState::ACTIVE) |
| |
| | ~VirtualCanController () |
| |
| void | set_state (CanState state) |
| |
| void | write (const can_msg &msg, int timeout, ::std::error_code &ec) noexcept |
| |
| void | write (const can_msg &msg, int timeout=-1) |
| |
| void | write (const can_err &err, int timeout, ::std::error_code &ec) noexcept |
| |
| void | write (const can_err &err, int timeout=-1) |
| |
| void | stop (::std::error_code &ec) noexcept |
| |
| void | stop () |
| |
| bool | stopped (::std::error_code &ec) const noexcept |
| |
| bool | stopped () const |
| |
| void | restart (::std::error_code &ec) noexcept |
| |
| void | restart () |
| |
| void | get_bitrate (int *pnominal, int *pdata, ::std::error_code &ec) const noexcept |
| |
| void | get_bitrate (int *pnominal, int *pdata=nullptr) const |
| |
| void | set_bitrate (int nominal, int data, ::std::error_code &ec) noexcept |
| |
| void | set_bitrate (int nominal, int data=0) |
| |
| CanState | get_state (::std::error_code &ec) const noexcept |
| |
| CanState | get_state () const |
| |
A virtual CAN controller.
Definition at line 37 of file vcan.hpp.