Skip to content

These module docs are in beta and may be incomplete.

modm:communication:sab

Content

// Class
class modm::sab2::Interface< typename Device, std::size_t N=maxPayloadLength >;
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;

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

// Function
uint16_t modm::sab2::crcUpdate(uint16_t crc, uint8_t data);
uint8_t modm::sab::crcUpdate(uint8_t crc, uint8_t data);

// Enum
enum Error;
enum Error;
enum Flags;

// Variable
const uint16_t modm::sab2::crcInitialValue = 0xffff;
const uint8_t modm::sab2::controlEscapeByte = 0x7d;
const uint8_t modm::sab2::frameBounderyByte = 0x7e;
const uint8_t modm::sab2::maxPayloadLength = 32;
const uint8_t modm::sab::crcInitialValue = 0x00;
const uint8_t modm::sab::maxPayloadLength = 32;
const uint8_t modm::sab::syncByte = 0x54;

// Define
#define SAB_ACTION(command, object, function, length)

Dependencies

modm:communication:sab modm_communication_sab modm: communication: sab modm_architecture_accessor modm: architecture: accessor modm_communication_sab->modm_architecture_accessor modm_communication modm: communication modm_communication_sab->modm_communication modm_debug modm: debug modm_communication_sab->modm_debug modm_processing_timer modm: processing: timer modm_communication_sab->modm_processing_timer modm_communication_sab2 modm: communication: sab2 modm_communication_sab2->modm_communication_sab modm_test_communication modm: test: communication modm_test_communication->modm_communication_sab