PROFINET Device  v1.04.03

◆ PN_API_PDEV_start()

uint32_t PN_API_PDEV_start ( void  )

Start physical device, ethernet interface, ip stack, and IO device.

Returns with error if physical device, ethernet interface, ip stack, and/or IO device are not initialized and configured.

Returns
PN_API_PDEV_EError_t as uint32_t
Return values
PN_API_PDEV_eOK
PN_API_PDEV_eERROR_WRONG_STATE
PN_API_ETH_eERROR_WRONG_STATE
#PN_API_IP_eERROR_WRONG_STATE
PN_API_DEV_eERROR_WRONG_STATE
Example
#include <PN_API_PDEV.h>
uint32_t result;
result = PN_API_PDEV_start();
See also
PN_API_PDEV_init PN_API_PDEV_run
PN_API_PDEV_start
uint32_t PN_API_PDEV_start(void)
Start physical device, ethernet interface, ip stack, and IO device.
Definition: PN_API_main.c:140