Download Print this page

Infineon XMC4800 Relax EtherCAT Getting Started page 18

Generic slave example
Hide thumbs Also See for XMC4800 Relax EtherCAT:

Advertisement

Description
Callback to process input and output
Inside the callback function the binary output data (master->slave) is
used to set the level of LED1 to 8 of „XMC™ EtherCAT
®
PHY Board". The
integer output data is used to set the duty cycle of the dimmable LED2.
Finally the states of the buttons are checked and propagated to the input
data (slave->master).
18
Copyright © Infineon Technologies AG 2016. All rights reserved.

Advertisement

loading