Skip to content

These module docs are in beta and may be incomplete.

modm:architecture:can: Controller Area Network

Controller–area network (CAN or CAN-bus) is a vehicle bus standard designed to allow microcontrollers and devices to communicate with each other within a vehicle without a host computer.

CAN is a message based protocol, designed specifically for automotive applications but now also used in other areas such as industrial automation and medical equipment.


// Class
class modm::Can;

// Struct
struct modm::can::Message::Flags;
struct modm::can::Message;

// Function
modm::IOStream& modm::can::operator<<(modm::IOStream &s, const modm::can::Message m);
modm::IOStream& modm::operator<<(modm::IOStream &stream, const Can::BusState state);


modm:architecture:can modm_architecture_can modm: architecture: can modm_architecture modm: architecture modm_architecture_can->modm_architecture modm_io modm: io modm_architecture_can->modm_io modm_communication_xpcc modm: communication: xpcc modm_communication_xpcc->modm_architecture_can modm_driver_lawicel modm: driver: lawicel modm_driver_lawicel->modm_architecture_can modm_driver_mcp2515 modm: driver: mcp2515 modm_driver_mcp2515->modm_architecture_can modm_platform_can modm: platform: can modm_platform_can->modm_architecture_can