class EthernetConfiguration

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
deviceuint32Device identification
enabledboolTrue if the ethernet device is enabled, false otherwise
speeduint32Speed selection
duplexuint32Duplex mode

Member functions

Function nameReturn typeInput typeDescription
device() constuint32voidReturns the current value of device. If the device is not set, returns 0.
set_device()voiduint32Sets the value of device. After calling this, device() will return value.
clear_device()voidvoidClears the value of device. After calling this, device() will return the empty string/empty bytes.
enabled()boolvoidReturns the current value of enabled. If the enabled is not set, returns 0.
set_enabled()voidboolSets the value of enabled. After calling this, enabled() will return value.
clear_enabled()voidvoidClears the value of enabled. After calling this, enabled() will return 0.
speed() constuint32voidReturns the current value of speed. If the speed is not set, returns 0.
set_speed()voiduint32Sets the value of speed. After calling this, speed() will return value.
clear_speed()voidvoidClears the value of speed. After calling this, speed() will return the empty string/empty bytes.
duplex() constuint32voidReturns the current value of duplex. If the duplex is not set, returns 0.
set_duplex()voiduint32Sets the value of duplex. After calling this, duplex() will return value.
clear_duplex()voidvoidClears the value of duplex. After calling this, duplex() will return the empty string/empty bytes.

Parent topic: InterconnectConfig (C++)