Skip to content

Communication API is used to interact with the Spin board and its shields communication peripherals.

To work with Communication API, include the following file in your code:

Note

#include <CommunicationAPI.h>

Detailed documentation on available classes:

API Reference

Class CommunicationAPI

ClassList > CommunicationAPI

Main communication API interface. More...

  • #include <CommunicationAPI.h>

Public Attributes

Type Name
AnalogCommunication analog
Contains all the functions for Analog communication.
CanCommunication can
Contains all the functions for CAN communication.
Rs485Communication rs485
Contains all the functions for RS485 communication.
SyncCommunication sync
Contains all the functions for Real Time synchronization.

Detailed Description

This class provides access to all supported communication interfaces, including analog, CAN, RS485, and real-time synchronization protocols.

  • analog: provides analog communication functions.
  • can: provides CAN bus communication functions.
  • rs485: provides RS485 serial communication functions.
  • sync: provides real-time synchronization functions.

Public Attributes Documentation

variable analog

Contains all the functions for Analog communication.

AnalogCommunication CommunicationAPI::analog;


variable can

Contains all the functions for CAN communication.

CanCommunication CommunicationAPI::can;


variable rs485

Contains all the functions for RS485 communication.

Rs485Communication CommunicationAPI::rs485;


variable sync

Contains all the functions for Real Time synchronization.

SyncCommunication CommunicationAPI::sync;



The documentation for this class was generated from the following file docs/core/zephyr/modules/owntech_communication/zephyr/public_api/CommunicationAPI.h