 |
AM263Px INDUSTRIAL COMMUNICATIONS SDK
10.02.00
|
|
Go to the documentation of this file.
65 #define PNISO_MAX_NUM_EVENTS 2
72 #define PNISO_MODE_NONE 0
81 #define PNISO_MODE_INTERRUPT 1
86 #define PNISO_MODE_GPIO 2
91 #define PNISO_MODE_DISABLE 0
96 #define PNISO_MODE_ENABLE 1
101 #define PNISO_TI_EVENT 1
106 #define PNISO_TI_EVENT_REG_SHIFT 0
111 #define PNISO_TO_EVENT 2
116 #define PNISO_TO_EVENT_REG_SHIFT 1
122 #define PNISO_ERR_SUCCESS 0
123 #define PNISO_ERR_INVALID_EVENT -1
124 #define PNISO_ERR_EVENTS_EXHAUSTED -2
void PN_event1IsrHandler(void *arg)
Event1 ISR handler. Used to call the application ISR Handler in case a Ti ISOM event/signal is trigge...
void PN_ISO_disableGPIOEvent(PN_Handle pnHandle)
API to disable the ISOM event/signal generation.
struct PN_Config_s * PN_Handle
Alias for Profinet Handle containing base addresses and modules.
Definition: PN_Handle.h:98
void PN_ISO_deInitGPIOEvent(PN_Handle pnHandle)
API to De init the ISOM event/signal.
void PN_ISO_enableGPIOEvent(PN_Handle pnHandle)
API to enable the ISOM event/signal generation.
void PN_event2IsrHandler(void *arg)
Event2 ISR handler. Used to call the application ISR Handler in case a To ISOM event/signal is trigge...
int8_t PN_ISO_initGPIOEvent(PN_Handle pnHandle, uint8_t isoMode, uint8_t isoEvent, uint32_t timeval, uint32_t duration)
API to initialize the ISOM event/signal. Returns the ISOM handle. The Event/signal will be disabled b...