Class hal::lpc40::can
Inherits the following classes: hal::can
Classes
| Type | Name |
|---|---|
| struct | port |
Public Types inherited from hal::can
See hal::can
| Type | Name |
|---|---|
| typedef void(const message_t &p_message) | handler Receive handler for can messages. |
| typedef uint32_t | id_t Can message ID type trait. |
Public Functions
| Type | Name |
|---|---|
| can (can & p_other) = delete |
|
| can (can && p_other) noexcept |
|
| can & | operator= (can & p_other) = delete |
| can & | operator= (can && p_other) noexcept |
| virtual | ~can () |
Public Functions inherited from hal::can
See hal::can
| Type | Name |
|---|---|
| status | bus_on () Transition the CAN device from "bus-off" to "bus-on". |
| status | configure (const settings & p_settings) Configure this can bus port to match the settings supplied. |
| void | on_receive (hal::callback< handler > p_handler) Set the message reception handler. |
| result< send_t > | send (const message_t & p_message) Send a can message. |
| virtual | ~can () = default |
Public Static Functions
| Type | Name |
|---|---|
| result< can > | get (std::uint8_t p_port, const can::settings & p_settings={}) |
Public Functions Documentation
function can [1/3]
hal::lpc40::can::can (
can & p_other
) = delete
function can [2/3]
hal::lpc40::can::can (
can && p_other
) noexcept
function operator=
can & hal::lpc40::can::operator= (
can & p_other
) = delete
function operator=
can & hal::lpc40::can::operator= (
can && p_other
) noexcept
function ~can
virtual hal::lpc40::can::~can ()
Implements hal::can::~can
Public Static Functions Documentation
function get
static result< can > hal::lpc40::can::get (
std::uint8_t p_port,
const can::settings & p_settings={}
)
The documentation for this class was generated from the following file libraries/include/libhal-lpc40/can.hpp