i found this link on etg website http://download.beckhoff.com/download/Document/EtherCAT/Development_products/ .
few files have the API's that are used in (tiescappl.c) sample code for ethercat in am3359 .
which part of am3359 implements ethercat or can i refer to these documents for proper understanding of the functions used in example codes ?