CmMode
SCPI Command :
SBUS<*>:OSPI:OPCode:ITEM<*>:CMMode
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(serialBus=SerialBus.Default, item=Item.Default) SbusOspiMode[source]
# SBUS<*>:OSPI:OPCode:ITEM<*>:CMMode value: enums.SbusOspiMode = driver.sbus.ospi.opCode.item.cmMode.get(serialBus = repcap.SerialBus.Default, item = repcap.Item.Default)
Enable to send an extra extension byte immediately after the command opcode.
- Parameters:
serialBus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Sbus’)
item – optional repeated capability selector. Default value: Ix1 (settable in the interface ‘Item’)
- Returns:
cmd_extension_md: WR1S | WR2S | WR4S | WR8S | WR1D | WR2D | WR4D | WR8D
WR1S | WR2S | WR4S | WR8S: Number of lanes in single data rate mode
WR1D | WR2D | WR4D | WR8D: Number of lanes in dual data rate mode
- set(cmd_extension_md: SbusOspiMode, serialBus=SerialBus.Default, item=Item.Default) None[source]
# SBUS<*>:OSPI:OPCode:ITEM<*>:CMMode driver.sbus.ospi.opCode.item.cmMode.set(cmd_extension_md = enums.SbusOspiMode.WR1D, serialBus = repcap.SerialBus.Default, item = repcap.Item.Default)
Enable to send an extra extension byte immediately after the command opcode.
- Parameters:
cmd_extension_md –
WR1S | WR2S | WR4S | WR8S | WR1D | WR2D | WR4D | WR8D
WR1S | WR2S | WR4S | WR8S: Number of lanes in single data rate mode
WR1D | WR2D | WR4D | WR8D: Number of lanes in dual data rate mode
serialBus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Sbus’)
item – optional repeated capability selector. Default value: Ix1 (settable in the interface ‘Item’)