Download Print this page

Infineon XMC4800 Relax EtherCAT Getting Started page 17

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

Advertisement

Description
Initialization inside main.c
Inside main() the DAVE™ system (PWM CCU8) and the ports of the EtherCAT
module are initialized. InitECAT_Adapt_LED() and Init_Relax-Button() are used
to initialize the buttons and LED1 to 8 of the „XMC™ EtherCAT
Finally the generic EtherCAT
and the ECAT_main_loop is called cyclic to process the state machine.
slave node is initialized, the callback is registered
®
Copyright © Infineon Technologies AG 2016. All rights reserved.
®
®
PHY Board".
17

Advertisement

loading