TypePy
SCPI Command :
TRIGger<*>:MDIO:TYPE
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(trigger=Trigger.Default) BusMdioType[source]
# TRIGger<*>:MDIO:TYPE value: enums.BusMdioType = driver.trigger.mdio.typePy.get(trigger = repcap.Trigger.Default)
Selects the trigger type for MDIO analysis.
- Parameters:
trigger – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Trigger’)
- Returns:
type_py: STARt | STOP | DATA
STARt: Sets the trigger to the start of frame (SOF) field. The start of frame condition and the trigger instant is the end of the preamble. Trigger pattern: preamble (32 bits 1)
STOP: Sets the trigger to the end of frame (EOF) field. The trigger instant is after the last data bit. Trigger pattern: preamble (32 bits 1) + 32 bits X
DATA: Sets the trigger to the data field. For more information on the data condition, see MDIO in the Ethernet standard. The trigger instant is at the end of the frame after the last data bit, as indicated in the GUI. Trigger pattern: preamble (32 bits 1) + 2 bits ST (Start of Frame Code) + 2 bits OP (Frame Type Code, or ‘OpCode’) + 5 bits PHYAD/PRTAD (Physical Layer Entity Address / Port Address) + 5 bits REGAD/DEVAD (Register Address / Device Address) + 2 bits TA (turnaround time, X bits) + 16 bits DATA/ADDRESS
- set(type_py: BusMdioType, trigger=Trigger.Default) None[source]
# TRIGger<*>:MDIO:TYPE driver.trigger.mdio.typePy.set(type_py = enums.BusMdioType.DATA, trigger = repcap.Trigger.Default)
Selects the trigger type for MDIO analysis.
- Parameters:
type_py –
STARt | STOP | DATA
STARt: Sets the trigger to the start of frame (SOF) field. The start of frame condition and the trigger instant is the end of the preamble. Trigger pattern: preamble (32 bits 1)
STOP: Sets the trigger to the end of frame (EOF) field. The trigger instant is after the last data bit. Trigger pattern: preamble (32 bits 1) + 32 bits X
DATA: Sets the trigger to the data field. For more information on the data condition, see MDIO in the Ethernet standard. The trigger instant is at the end of the frame after the last data bit, as indicated in the GUI. Trigger pattern: preamble (32 bits 1) + 2 bits ST (Start of Frame Code) + 2 bits OP (Frame Type Code, or ‘OpCode’) + 5 bits PHYAD/PRTAD (Physical Layer Entity Address / Port Address) + 5 bits REGAD/DEVAD (Register Address / Device Address) + 2 bits TA (turnaround time, X bits) + 16 bits DATA/ADDRESS
trigger – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Trigger’)