Functions | |
PNISOM_Handle | PN_ISO_initGPIOEvent (PN_Handle pnHandle, uint8_t isoMode, uint32_t timeval, uint32_t duration) |
API to initialize the ISOM event/signal. Returns the ISOM handle. The Event/signal will be disabled by default. More... | |
void | PN_ISO_enableGPIOEvent (PN_Handle pnHandle, PNISOM_Handle isoHandle) |
API to enable the ISOM event/signal generation. More... | |
void | PN_ISO_disableGPIOEvent (PN_Handle pnHandle, PNISOM_Handle isoHandle) |
API to disable the ISOM event/signal generation. More... | |
void | PN_ISO_deInitGPIOEvent (PN_Handle pnHandle, PNISOM_Handle isoHandle) |
API to De init the ISOM event/signal. More... | |
Typedefs | |
typedef uint32_t * | PNISOM_Handle |
ISOM handle. More... | |
Macros | |
#define | PNISO_MODE_INTERRUPT 1 |
#define | PNISO_MODE_GPIO 2 |
#define | PNISO_MODE_DISABLE 0 |
#define | PNISO_MODE_ENABLE 1 |
#define PNISO_MODE_INTERRUPT 1 |
ISOM Interrupt Mode
#define PNISO_MODE_GPIO 2 |
ISOM GPIO Mode
#define PNISO_MODE_DISABLE 0 |
Disable ISOM mode
#define PNISO_MODE_ENABLE 1 |
Enable ISOM mode
typedef uint32_t* PNISOM_Handle |
ISOM handle.
PNISOM_Handle PN_ISO_initGPIOEvent | ( | PN_Handle | pnHandle, |
uint8_t | isoMode, | ||
uint32_t | timeval, | ||
uint32_t | duration | ||
) |
API to initialize the ISOM event/signal. Returns the ISOM handle. The Event/signal will be disabled by default.
pnHandle | Profinet Handle | |
[in] | isoMode | ISOM type - PNISO_MODE_GPIO/PNISO_MODE_INTERRUPT |
[in] | timeval | time in nanosecond to trigger the event/signal (Reference is Start of Cycle) |
[in] | duration | Duration of signal in nanoseconds |
ISOM | handle on success |
void PN_ISO_enableGPIOEvent | ( | PN_Handle | pnHandle, |
PNISOM_Handle | isoHandle | ||
) |
API to enable the ISOM event/signal generation.
pnHandle | Profinet Handle |
isoHandle | ISOM handle that needs to be enabled |
void PN_ISO_disableGPIOEvent | ( | PN_Handle | pnHandle, |
PNISOM_Handle | isoHandle | ||
) |
API to disable the ISOM event/signal generation.
pnHandle | Profinet Handle |
isoHandle | ISOM handle that needs to be disabled |
void PN_ISO_deInitGPIOEvent | ( | PN_Handle | pnHandle, |
PNISOM_Handle | isoHandle | ||
) |
API to De init the ISOM event/signal.
pnHandle | Profinet Handle |
isoHandle | ISOM handle that needs to be de initialized |