AM64x MCU+ SDK  08.02.00
iRtcDrv.h File Reference

Go to the source code of this file.

Data Structures

struct  t_ppmDesc
 

Macros

#define DESC_WORD_LENGTH   4
 

Functions

struct __attribute__ ((packed)) cpmDesc
 
uint32_t PN_allCpmKnown (PN_Handle pnHandle)
 
void PN_resetCpmPorts (PN_Handle pnHandle)
 
void PN_setCpmPort (PN_Handle pnHandle, t_rtcPacket *pID)
 
int32_t PN_togglePpmList (PN_Handle pnHandle, t_rtcPacket *pktID, uint8_t ppmMrpPortShift)
 
int32_t PN_writePpmDesc (PN_Handle pnHandle, t_rtcPacket *pPkt, uint8_t pos)
 
int32_t PN_writeCpmDesc (PN_Handle pnHandle, t_rtcPacket *pPkt, uint8_t pos)
 
int32_t PN_readPpmDesc (PN_Handle pnHandle, t_ppmDesc *pDesc, uint8_t pos, uint8_t act)
 
int32_t PN_readCpmDesc (PN_Handle pnHandle, t_cpmDesc *pDesc, uint8_t pos)
 
int32_t PN_setIndexInt (PN_Handle pnHandle, t_listIndex *index)
 
int8_t PN_getLastCpmBuffIndex (PN_Handle pnHandle, uint8_t pos)
 
int32_t PN_getIndexInt (t_listIndex *index)
 
int32_t PN_emptyList (t_descList *pList)
 
int32_t PN_writeSortedList (PN_Handle pnHandle, t_rtcPacket *pPkts)
 
int8_t PN_getDhtStatusEvent (PN_Handle pnHandle, t_rtcPacket **pktID)
 
int8_t PN_getListToggleStatusEvent (PN_Handle pnHandle, t_rtcPacket **pktID)
 
int8_t PN_getShadowIndex (PRUICSS_HwAttrs const *pruicssHwAttrs, uint8_t lType)
 
int32_t PN_getPmStatus (PRUICSS_HwAttrs const *pruicssHwAttrs, uint8_t dir, uint8_t numPm)
 
int32_t PN_setPPMARlink (PRUICSS_HwAttrs const *pruicssHwAttrs, uint8_t ARgroup, uint8_t PpmNum)
 
int32_t PN_setCPMARlink (PRUICSS_HwAttrs const *pruicssHwAttrs, uint8_t ARgroup, uint8_t CpmNum)
 
int32_t PN_setCpmDHT (PRUICSS_HwAttrs const *pruicssHwAttrs, uint16_t dht, uint8_t pos)
 Sets the Data hold timer timeout value for a given descriptor. More...
 
void PN_clearMrpFlag (PN_Handle pnHandle)
 Clears the mrpFlag in ppmList data structure. More...
 
void PN_setListToggleReq (PN_Handle pnHandle, uint8_t enable)
 Sets or clears the listToggleReq flag in ppmList data structure. More...
 

Variables

 t_cpmDesc
 

Macro Definition Documentation

◆ DESC_WORD_LENGTH

#define DESC_WORD_LENGTH   4

Function Documentation

◆ PN_clearMrpFlag()

void PN_clearMrpFlag ( PN_Handle  pnHandle)

Clears the mrpFlag in ppmList data structure.

Parameters
[in]pnHandleProfinet Handle

◆ PN_setListToggleReq()

void PN_setListToggleReq ( PN_Handle  pnHandle,
uint8_t  enable 
)

Sets or clears the listToggleReq flag in ppmList data structure.

Parameters
[in]pnHandleProfinet Handle
[in]enableIt clears or sets the listToggleReq flag valid values are 0 and 1