#include "pn_api_iod_device.h"
#include "pn_api_iod_startup.h"
uint32_t status;
...
uint32_t PN_API_IOD_setDeviceState(PN_API_IOD_Handle_t *const pnHandle, uint32_t devState)
Sets the IO device state to either "operate" or "clear".
#define DEVICE_STATE_CLEAR
Device state "clear".
Definition pn_api_iod_device.h:29
PN_API_IOD_Handle_t * PN_API_IOD_new(void)
Creates Profinet API handle.
struct PN_API_IOD_Handle PN_API_IOD_Handle_t
API handle instance which holds IO device's info.
Definition pn_api_iod_types.h:61