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

Overview

Functions for isochronous real-time (IRT).

Typedefs

typedef uint32_t(* PN_API_IOD_isoInterruptEventCbf) (PN_API_IOD_Handle_t *const pnHandle, const uint8_t isomEvent)
 Callback function prototype to handle the event triggered by isochronous interrupt (typically Ti/To).
 

Functions

uint32_t PN_API_IOD_activateIsoIsrObj (PN_API_IOD_Handle_t *const pnHandle, const uint32_t nsDelayTime, const uint8_t isomEvent)
 Activate an isochronous event interrupt after/before a specified delay to a new cycle. The service
scans for an available object and sets it up (typically used to setup Ti/To events that can be handled by implementing and registering the callback function PN_API_IOD_isoInterruptEventCbf().
 
uint32_t PN_API_IOD_activateIsoGpioObj (PN_API_IOD_Handle_t *const pnHandle, const uint32_t nsDelayTime, const uint32_t nsDurationTime, const uint8_t isomEvent)
 Configures a comparator to generate a pulse on a chosen GPIO after/before a specified delay to
a new cycle. The service scans for an available object and sets it up.
 
uint32_t PN_API_IOD_freeIsoObj (PN_API_IOD_Handle_t *const pnHandle)
 Dealocates a pre-existing object. There is a internal limitation that it is required to free all instances at once. If only single one is freed, the other will not work anymore.