Download Print this page

Infineon XMC4800 Getting Started page 38

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

Advertisement

Description – SSC specific enabling/disabling
of interrupts [1/2]
Please see ET9300 application note published by the ETG on details
about the SSC code structure and interrupt handling (chapter 4).
In v1.8/2017-11-14 of this document inside chapter 5/hardware
access it is specified:
„If interrupts are used also two macros shall be defined
"ENABLE_ESC_INT" and "DISABLE_ESC_INT". These shall
enable/disable all four interrupt sources".
These macros are implemented inside ECAT_APP. Timer- and PDI-
interrupt are handled by the ECAT_APP. As Sync0 and Sync1 are
routed through ERU (see before) these interrupts need to be
handled in addition by the user.
For this purpose ECAT_APP is implementing a callback function for
user specific implementation:
ENABLE_ESC_INT_USER and DISABLE_ESC_INT_USER.
38
Copyright © Infineon Technologies AG 2016. All rights reserved.

Advertisement

loading