Data Fields
CpswMacPort_TsEventCfg_s Struct Reference

Port configuration for time synchronization. More...

#include <cpsw_macport.h>

Data Fields

bool enableTxAnnexD
 
bool enableRxAnnexD
 
bool enableTxAnnexE
 
bool enableRxAnnexE
 
bool enableTxAnnexF
 
bool enableRxAnnexF
 
bool enableTxHostTs
 
EnetMacPort_VlanType txVlanType
 
EnetMacPort_VlanType rxVlanType
 
uint32_t vlanLType1
 
uint32_t vlanLType2
 
CpswMacPort_IpTsCfg commonPortIpCfg
 
uint32_t mcastType
 
uint32_t messageType
 
bool enableLType2
 
uint32_t seqIdOffset
 
uint32_t domainOffset
 

Detailed Description

Port configuration for time synchronization.

Configuration information for enabling Ethernet RX and TX time sync events in a port.

Field Documentation

CpswMacPort_IpTsCfg CpswMacPort_TsEventCfg_s::commonPortIpCfg

Common configuration for Annex D (IPv4) and Annex E (IPv6)

uint32_t CpswMacPort_TsEventCfg_s::domainOffset

Time Sync domain offset

bool CpswMacPort_TsEventCfg_s::enableLType2

Ltype 2 is only for Annex F (PTP)

bool CpswMacPort_TsEventCfg_s::enableRxAnnexD

Enable Annex D (IPv4) RX Time Synchronization

bool CpswMacPort_TsEventCfg_s::enableRxAnnexE

Enable Annex E (IPv6) RX Time Synchronization

bool CpswMacPort_TsEventCfg_s::enableRxAnnexF

Enable Annex F (IEEE802.3) RX Time Synchronization

bool CpswMacPort_TsEventCfg_s::enableTxAnnexD

Enable Annex D (IPv4) TX Time Synchronization

bool CpswMacPort_TsEventCfg_s::enableTxAnnexE

Enable Annex E (IPv6) TX Time Synchronization

bool CpswMacPort_TsEventCfg_s::enableTxAnnexF

Enable Annex F (IEEE802.3) TX Time Synchronization

bool CpswMacPort_TsEventCfg_s::enableTxHostTs

Time Sync Transmit Host Time Stamp Enable

uint32_t CpswMacPort_TsEventCfg_s::mcastType

Multicast type value only for Annex E (IPv6)

uint32_t CpswMacPort_TsEventCfg_s::messageType

Message type value mask is only for Annex F (PTP)

EnetMacPort_VlanType CpswMacPort_TsEventCfg_s::rxVlanType

RX VLAN Type

uint32_t CpswMacPort_TsEventCfg_s::seqIdOffset

Time Sync sequence ID offset

EnetMacPort_VlanType CpswMacPort_TsEventCfg_s::txVlanType

TX VLAN Type

uint32_t CpswMacPort_TsEventCfg_s::vlanLType1

VLAN Ltype 1 and 2 are common for both TX and RX and are valid only if txVlanType or rxVlanType is not #CPSW_MACPORT_VLAN_TYPE_NONE

uint32_t CpswMacPort_TsEventCfg_s::vlanLType2

VLAN Ltype 1 and 2 are common for both TX and RX and are valid only if txVlanType or rxVlanType is not #CPSW_MACPORT_VLAN_TYPE_NONE


The documentation for this struct was generated from the following file:

Copyright 2020, Texas Instruments Incorporated