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

◆ PN_API_IOD_initStack()

uint32_t PN_API_IOD_initStack ( void  )

Initialize the stack and allocate necessary resources.

Initialize the stack including its memory resources, interprocess communication mechanism, task handling and interfaces to OS, BSP, and sockets.

Warning
Must be called first.
Returns
result of the operation as uint32_t.
Return values
PN_API_OKSuccess.
PN_API_NOT_OKSomething went wrong.
Example
#include "pn_api_iod_startup.h"
uint32_t status;
uint32_t PN_API_IOD_initStack(void)
Initialize the stack and allocate necessary resources.