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

◆ PN_APP_IOD_cbIsoInterruptEvent()

uint32_t PN_APP_IOD_cbIsoInterruptEvent ( PN_API_IOD_Handle_t *const  pnHandle,
const uint8_t  isomEvent 
)

Callback function to set a GPIO PIN for isochronous Ti/To triggered interrupt.

In this function, GPIO_TI_ISR_PIN or GPIO_TO_ISR_PIN is toggled once when the Ti or To interrupt is triggered.

Parameters
[in]pnHandleProfinet API Handle.
[in]isomEventIsochronous ISR event ID (PN_API_IOD_TI_ISR_EVENT or PN_API_IOD_TO_ISR_EVENT).
Returns
result of the operation as uint32_t.
Return values
PN_API_OKOperation succeeded.
PN_API_ERR_PARAMInvalid parameter.