Download Print this page

Infineon XMC4800 Getting Started page 24

Ethercat app ssc slave example
Hide thumbs Also See for XMC4800:

Advertisement

Implement application specific slave node
behaviour
Inside the generated file XMC_ESC.c file the function
APPL_Application is implemented. This function implements the
application specific code to handle input and output...
A) ... from mainloop or
B) ... if synchronisation is active from ISR
Inside main.c of the example, the function
void process_app(TOBJ7000 *OUT_GENERIC, TOBJ6000 *IN_GENERIC);
implements the mapping of the input/output data to buttons and
LEDs. Therefore please modify the function APPL_Application to call
process_app in the following way:
Originally generated code:
Modified code:
24
Copyright © Infineon Technologies AG 2016. All rights reserved.

Advertisement

loading