PROFINET Device4.2.0
 
Loading...
Searching...
No Matches

◆ PN_APP_IOD_setupIsomEvent()

void PN_APP_IOD_setupIsomEvent ( PN_API_IOD_Handle_t *const  pnHandle,
uint32_t  ti,
uint32_t  to,
uint32_t  tcyc 
)

Setup isohronous events.

This function is called in isochronous mode to setup hardware events for Ti/To. It calls the corresponding API functions to register the callback functions implemented by the user to handle Ti and/or To events. Before configuring the events, all existing ones are cleared.

Parameters
[in]pnHandleProfinet API Handle.
[in]ti(Ti) Input event offset in ns
[in]to(To) Output event offset in ns
[in]tcycCycle time in ns