AM263Px INDUSTRIAL COMMUNICATIONS SDK  10.02.00
iPNIsoMDrv.h File Reference

Go to the source code of this file.

Macros

#define PNISO_MAX_NUM_EVENTS   2
 
#define PNISO_MODE_NONE   0
 
#define PNISO_MODE_INTERRUPT   1
 
#define PNISO_MODE_GPIO   2
 
#define PNISO_MODE_DISABLE   0
 
#define PNISO_MODE_ENABLE   1
 
#define PNISO_TI_EVENT   1
 
#define PNISO_TI_EVENT_REG_SHIFT   0
 
#define PNISO_TO_EVENT   2
 
#define PNISO_TO_EVENT_REG_SHIFT   1
 
#define PNISO_ERR_SUCCESS   0
 
#define PNISO_ERR_INVALID_EVENT   -1
 
#define PNISO_ERR_EVENTS_EXHAUSTED   -2
 

Functions

void PN_event1IsrHandler (void *arg)
 Event1 ISR handler. Used to call the application ISR Handler in case a Ti ISOM event/signal is triggered. More...
 
void PN_event2IsrHandler (void *arg)
 Event2 ISR handler. Used to call the application ISR Handler in case a To ISOM event/signal is triggered. More...
 
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 by default. More...
 
void PN_ISO_enableGPIOEvent (PN_Handle pnHandle)
 API to enable the ISOM event/signal generation. More...
 
void PN_ISO_disableGPIOEvent (PN_Handle pnHandle)
 API to disable the ISOM event/signal generation. More...
 
void PN_ISO_deInitGPIOEvent (PN_Handle pnHandle)
 API to De init the ISOM event/signal. More...
 

Macro Definition Documentation

◆ PNISO_MAX_NUM_EVENTS

#define PNISO_MAX_NUM_EVENTS   2

◆ PNISO_MODE_NONE

#define PNISO_MODE_NONE   0