Skip to main content
Open topic with navigation CAPL Functions » Ethernet » Function Overview » ethGetPhyMode

ethGetPhyMode

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Description

Gets the PHY mode. Only supported for network-based configurations and physical measurement ports.

Parameters

  • port: Ethernet port.
  • phyMode:
    • 0: kEthernetPhyModeUnknown
    • 1: kEthernetPhyModeMaster
    • 2: kEthernetPhyModeSlave

Return Values

  • 0: Failure
  • 1: Success

Example