AM64x MCU+ SDK  08.02.00

Introduction

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
 

Macro Definition Documentation

◆ PNISO_MODE_INTERRUPT

#define PNISO_MODE_INTERRUPT   1

ISOM Interrupt Mode

◆ PNISO_MODE_GPIO

#define PNISO_MODE_GPIO   2

ISOM GPIO Mode

◆ PNISO_MODE_DISABLE

#define PNISO_MODE_DISABLE   0

Disable ISOM mode

◆ PNISO_MODE_ENABLE

#define PNISO_MODE_ENABLE   1

Enable ISOM mode

Typedef Documentation

◆ PNISOM_Handle

typedef uint32_t* PNISOM_Handle

ISOM handle.

Function Documentation

◆ PN_ISO_initGPIOEvent()

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.

Parameters
pnHandleProfinet Handle
[in]isoModeISOM type - PNISO_MODE_GPIO/PNISO_MODE_INTERRUPT
[in]timevaltime in nanosecond to trigger the event/signal (Reference is Start of Cycle)
[in]durationDuration of signal in nanoseconds
Return values
ISOMhandle on success

◆ PN_ISO_enableGPIOEvent()

void PN_ISO_enableGPIOEvent ( PN_Handle  pnHandle,
PNISOM_Handle  isoHandle 
)

API to enable the ISOM event/signal generation.

Parameters
pnHandleProfinet Handle
isoHandleISOM handle that needs to be enabled

◆ PN_ISO_disableGPIOEvent()

void PN_ISO_disableGPIOEvent ( PN_Handle  pnHandle,
PNISOM_Handle  isoHandle 
)

API to disable the ISOM event/signal generation.

Parameters
pnHandleProfinet Handle
isoHandleISOM handle that needs to be disabled

◆ PN_ISO_deInitGPIOEvent()

void PN_ISO_deInitGPIOEvent ( PN_Handle  pnHandle,
PNISOM_Handle  isoHandle 
)

API to De init the ISOM event/signal.

Parameters
pnHandleProfinet Handle
isoHandleISOM handle that needs to be de initialized