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

◆ PN_APP_IOD_cbSetLed()

uint32_t PN_APP_IOD_cbSetLed ( PN_API_IOD_Handle_t *const  pnHandle,
const PN_API_IOD_Led_t  led,
const bool  state 
)

Callback function to set LED states.

In this function, the application sets LED states.

Parameters
[in]pnHandleProfinet API Handle.
[in]ledLed type
[in]stateLed state
Returns
result of the operation as uint32_t.
Return values
PN_API_OKSuccess.