Skip to content

These module docs are in beta and may be incomplete.

modm:communication

Content

// Class
class ModmHardware< class Uart  >;
class modm::sab::Interface< typename Device >;
class modm::sab::Master< typename Interface >;
class modm::sab::Response;
class modm::sab::Slave< typename Interface  >;
class modm::sab::Transmitter;
class xpcc::AbstractComponent;
class xpcc::ActionResult< typename T =void >;
class xpcc::ActionResult< void >;
class xpcc::BackendInterface;
class xpcc::CanConnector::ReceiveListItem;
class xpcc::CanConnector::SendListItem;
class xpcc::CanConnector< typename Driver  >;
class xpcc::CanConnectorBase;
class xpcc::Communicatable;
class xpcc::CommunicatableTask;
class xpcc::Communicator;
class xpcc::Dispatcher::Entry;
class xpcc::Dispatcher;
class xpcc::DynamicPostman::ActionHandler;
class xpcc::DynamicPostman::EventListener;
class xpcc::DynamicPostman;
class xpcc::Postman;
class xpcc::ResponseCallback;
class xpcc::ResponseHandle;

// Struct
struct modm::sab::Action;
struct modm::sab::Callable;
struct xpcc::Header;

// Function
modm::IOStream& xpcc::operator<<(modm::IOStream &s, const Header &header);
uint8_t modm::sab::crcUpdate(uint8_t crc, uint8_t data);

// Enum
enum Error;
enum Flags;
enum class Response;

// Variable
const uint8_t modm::sab::crcInitialValue = 0x00;
const uint8_t modm::sab::maxPayloadLength = 32;
const uint8_t modm::sab::syncByte = 0x54;

// Typedef
using xpcc::ActionResponse = typedef modm::ResumableResult< xpcc::ActionResult< T > >;

// Define
#define SAB_ACTION(command, object, function, length)
#define XPCC_CAN_PACKET_ACKNOWLEDGE
#define XPCC_CAN_PACKET_ACKNOWLEDGE_MASK
#define XPCC_CAN_PACKET_DESTINATION(x)
#define XPCC_CAN_PACKET_DESTINATION_MASK
#define XPCC_CAN_PACKET_EVENT
#define XPCC_CAN_PACKET_EVENT_MASK
#define XPCC_CAN_PACKET_ID(x)
#define XPCC_CAN_PACKET_ID_MASK
#define XPCC_CAN_PACKET_SOURCE(x)
#define XPCC_CAN_PACKET_SOURCE_MASK
#define XPCC_CAN_PACKET_TYPE_MASK
#define XPCC_CAN_PACKET_TYPE_REQUEST

Dependencies

modm:communication modm_communication modm: communication modm_communication_ros modm: communication: ros modm_communication_ros->modm_communication modm_communication_sab modm: communication: sab modm_communication_sab->modm_communication modm_communication_xpcc modm: communication: xpcc modm_communication_xpcc->modm_communication