Lely core libraries
2.3.4
|
A CAN controller. More...
#include <can.hpp>
Public Member Functions | |
CanController (const char *name, ::std::size_t txlen=0) | |
CanController (unsigned int index, ::std::size_t txlen=0) | |
~CanController () | |
![]() | |
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 |
|
inline |
|
inline |
|
inline |