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

◆ PN_APP_IOD_cbStartLedBlink()

uint32_t PN_APP_IOD_cbStartLedBlink ( PN_API_IOD_Handle_t *const  pnHandle,
const uint32_t  portNum,
const uint32_t  frequency 
)

Callback function to request the start of LED blinking.

In this function, the application requests an LED to blink based on the given frequency.

Parameters
[in]pnHandleProfinet API Handle.
[in]portNumPort number (currently not used).
[in]frequencyBlinking frequency in Hz.
Returns
result of the operation as uint32_t.
Return values
PN_API_OKSuccess.
See also
PN_API_IOD_startLedBlinkCbf