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

Public Attributes

Type Name
AnalogCommunication analog
Contains all the function for analog communication.
CanCommunication can
Contains all the function for can communication.
Rs485Communication rs485
Contains all the function for rs485 communication.
SyncCommunication sync
Contains all the function for sync communication.

Public Attributes Documentation

variable analog

Contains all the function for analog communication.

AnalogCommunication CommunicationAPI::analog;


variable can

Contains all the function for can communication.

CanCommunication CommunicationAPI::can;


variable rs485

Contains all the function for rs485 communication.

Rs485Communication CommunicationAPI::rs485;


variable sync

Contains all the function for sync communication.

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