PROFINET Device  v1.04.03

◆ PN_API_PDEV_run()

uint32_t PN_API_PDEV_run ( void  )

Run 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 started.

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_DEV_eERROR_WRONG_STATE
Example
#include <PN_API_PDEV.h>
uint32_t result;
result = PN_API_PDEV_run(void);
See also
PN_API_PDEV_init PN_API_PDEV_start
PN_API_PDEV_run
uint32_t PN_API_PDEV_run(void)
Run physical device, ethernet interface, ip stack, and IO device.
Definition: PN_API_main.c:220