AM64x MCU+ SDK  08.02.00
PN_PtcpConfig Struct Reference

Data Fields

uint32_t pnCyclePeriod
 
uint32_t mandCtrAdj
 
uint32_t T2_prev [PTCP_NUM_PORTS]
 
uint32_t T1_prev [PTCP_NUM_PORTS]
 
uint32_t T1_CTR_prev [PTCP_NUM_PORTS]
 
float rcf_prev [PTCP_NUM_PORTS]
 
uint16_t seqId
 
int32_t delayIndex
 
int32_t syncIndex
 
uint32_t numInSync
 
int32_t syncDeltaTs [SYNC_FILTER_SIZE]
 
uint32_t * pSyncTorgNs
 
uint32_t * pSyncInDelayPlusLD
 
uint32_t * pSyncRxSOF
 
uint32_t * pSyncTorgSecs
 
uint16_t * pPmCycleCounter
 
uint16_t * pPmPhaseCounter
 
uint8_t * pSubDomainUUID
 
uint8_t * pSyncMasterMac
 
uint8_t * pSyncInitFlag
 
uint32_t clkChangeNotifyDelay
 
uint32_t prev_cDelay [PTCP_NUM_PORTS]
 
uint32_t prev_lDelay [PTCP_NUM_PORTS]
 
uint8_t initPmCycleCtrDone
 
uint8_t cycleCtrInitPending
 
uint16_t calculatedCycleCtr
 
uint8_t masterChange
 
uint8_t phaseCtrChange
 
int32_t firstDelayBurst
 
uint16_t maxSeqId
 
uint16_t minSeqId
 
volatile ptcpSyncInfo_t deviceSyncInfo
 
uint32_t ptcpSync0PinStart
 
uint32_t ptcpSync0PinPulseWidth
 
volatile currentPtcpStatus_t currentPtcpStatus
 
ptcpPortDelayVal_t portTimes [PTCP_NUM_PORTS]
 
deviceDelays_t deviceDelays [PTCP_NUM_PORTS]
 
devicePortOffsets_t devicePortOffsets [PTCP_NUM_PORTS]
 
SemaphoreP_Object ptcpStartSem
 
SemaphoreP_Object ptcpTriggerMeasurementSem
 
ptcpCallBack_t ptcpSyncStatusCall
 
ptcpCallBack_t ptcpDelayUpdateCall
 
PN_PtcpDebug pnPtcpDebugAttrs
 
LatchVars g_Latch
 
PNIO_TimeStamp g_T1
 
uint8_t ptcpSyncFilterfactor
 
uint8_t ptcpEnableSlowCompensation
 
PN_PtcpTimerAttrs ptcpTimer
 

Field Documentation

◆ pnCyclePeriod

uint32_t PN_PtcpConfig::pnCyclePeriod

PTCP Cycle period

◆ mandCtrAdj

uint32_t PN_PtcpConfig::mandCtrAdj

Mandatory counter adjustment for inter delay request gap

◆ T2_prev

uint32_t PN_PtcpConfig::T2_prev[PTCP_NUM_PORTS]

T2 previous

◆ T1_prev

uint32_t PN_PtcpConfig::T1_prev[PTCP_NUM_PORTS]

T1 previous

◆ T1_CTR_prev

uint32_t PN_PtcpConfig::T1_CTR_prev[PTCP_NUM_PORTS]

T1 cycle counter

◆ rcf_prev

float PN_PtcpConfig::rcf_prev[PTCP_NUM_PORTS]

Peer rate compensation factor

◆ seqId

uint16_t PN_PtcpConfig::seqId

Sequence ID

◆ delayIndex

int32_t PN_PtcpConfig::delayIndex

Cable delay and line delay index

◆ syncIndex

int32_t PN_PtcpConfig::syncIndex

Sync Index

◆ numInSync

uint32_t PN_PtcpConfig::numInSync

Number of Sync packets since PTCP reset

◆ syncDeltaTs

int32_t PN_PtcpConfig::syncDeltaTs[SYNC_FILTER_SIZE]

Delta values used in SMA filter.

◆ pSyncTorgNs

uint32_t* PN_PtcpConfig::pSyncTorgNs

Original time of master clock - in Nanosecs

◆ pSyncInDelayPlusLD

uint32_t* PN_PtcpConfig::pSyncInDelayPlusLD

Sync in delay + line delay

◆ pSyncRxSOF

uint32_t* PN_PtcpConfig::pSyncRxSOF

Sync RX SOF

◆ pSyncTorgSecs

uint32_t* PN_PtcpConfig::pSyncTorgSecs

Original time of master clock - in Secs

◆ pPmCycleCounter

uint16_t* PN_PtcpConfig::pPmCycleCounter

Cycle counter

◆ pPmPhaseCounter

uint16_t* PN_PtcpConfig::pPmPhaseCounter

Phase counter

◆ pSubDomainUUID

uint8_t* PN_PtcpConfig::pSubDomainUUID

Sub domain UUID

◆ pSyncMasterMac

uint8_t* PN_PtcpConfig::pSyncMasterMac

Master MAC

◆ pSyncInitFlag

uint8_t* PN_PtcpConfig::pSyncInitFlag

Init Flag

◆ clkChangeNotifyDelay

uint32_t PN_PtcpConfig::clkChangeNotifyDelay

Clock change notification delay

◆ prev_cDelay

uint32_t PN_PtcpConfig::prev_cDelay[PTCP_NUM_PORTS]

Previous cable delay

◆ prev_lDelay

uint32_t PN_PtcpConfig::prev_lDelay[PTCP_NUM_PORTS]

Previous line Delay

◆ initPmCycleCtrDone

uint8_t PN_PtcpConfig::initPmCycleCtrDone

Init Cycle counter done

◆ cycleCtrInitPending

uint8_t PN_PtcpConfig::cycleCtrInitPending

init cycle counter pending

◆ calculatedCycleCtr

uint16_t PN_PtcpConfig::calculatedCycleCtr

calculated cycle counter

◆ masterChange

uint8_t PN_PtcpConfig::masterChange

Master change

◆ phaseCtrChange

uint8_t PN_PtcpConfig::phaseCtrChange

phase counter change

◆ firstDelayBurst

int32_t PN_PtcpConfig::firstDelayBurst

First delay burst

◆ maxSeqId

uint16_t PN_PtcpConfig::maxSeqId

Max seq id

◆ minSeqId

uint16_t PN_PtcpConfig::minSeqId

Min seq id

◆ deviceSyncInfo

volatile ptcpSyncInfo_t PN_PtcpConfig::deviceSyncInfo

Sync Info

◆ ptcpSync0PinStart

uint32_t PN_PtcpConfig::ptcpSync0PinStart

SYNC Start configuration

◆ ptcpSync0PinPulseWidth

uint32_t PN_PtcpConfig::ptcpSync0PinPulseWidth

SYNC Pulse width configuration

◆ currentPtcpStatus

volatile currentPtcpStatus_t PN_PtcpConfig::currentPtcpStatus

Current status

◆ portTimes

ptcpPortDelayVal_t PN_PtcpConfig::portTimes[PTCP_NUM_PORTS]

Port delays

◆ deviceDelays

deviceDelays_t PN_PtcpConfig::deviceDelays[PTCP_NUM_PORTS]

Device delays

◆ devicePortOffsets

devicePortOffsets_t PN_PtcpConfig::devicePortOffsets[PTCP_NUM_PORTS]

Port offsets

◆ ptcpStartSem

SemaphoreP_Object PN_PtcpConfig::ptcpStartSem

Debug delay out of range

Semaphore to start PTCP

◆ ptcpTriggerMeasurementSem

SemaphoreP_Object PN_PtcpConfig::ptcpTriggerMeasurementSem

Semaphore to trigger measurement

◆ ptcpSyncStatusCall

ptcpCallBack_t PN_PtcpConfig::ptcpSyncStatusCall

Callback to update sync status

◆ ptcpDelayUpdateCall

ptcpCallBack_t PN_PtcpConfig::ptcpDelayUpdateCall

Callback to update delay

◆ pnPtcpDebugAttrs

PN_PtcpDebug PN_PtcpConfig::pnPtcpDebugAttrs

Debug information

◆ g_Latch

LatchVars PN_PtcpConfig::g_Latch

◆ g_T1

PNIO_TimeStamp PN_PtcpConfig::g_T1

◆ ptcpSyncFilterfactor

uint8_t PN_PtcpConfig::ptcpSyncFilterfactor

◆ ptcpEnableSlowCompensation

uint8_t PN_PtcpConfig::ptcpEnableSlowCompensation

Set to 1 if SOC supports slow compensation

◆ ptcpTimer

PN_PtcpTimerAttrs PN_PtcpConfig::ptcpTimer