I want to find...

Search

Shares

Table of Content

EthercatMaster.end()

[Ethercat Master]

Description

Deinitialize the EtherCAT master.

Syntax

void end();

Parameters

None.

Return Value

None.

Comment

The function must be called after EthercatMaster::begin() and before EthercatMaster::start(). This function is blocking and cannot be called within the callback functions.

Example

#include "Ethercat.h"

EthercatMaster master;

void setup()
{
    master.begin();
    master.end();
}

void loop()
{

}

Please see the EtherCAT Library User Manual for more QEC EtherCAT instructions and API usage.

Leave a Comment

Scroll to Top