Address
SCPI Command :
BUS<*>:I2C:FRAMe<*>:ADDRess
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(bus=Bus.Default, busFrameNull=BusFrameNull.Default) int[source]
# BUS<*>:I2C:FRAMe<*>:ADDRess value: int = driver.bus.i2C.frame.address.get(bus = repcap.Bus.Default, busFrameNull = repcap.BusFrameNull.Default)
Returns the device address value of the indicated frame, that is, the address value that is shown in the decoded cells and in the decode results table. If the frame has a 7-bit address, the command considers the status of method
RsRtx.bus.i2C.rwbIt.set(). If BUS<bb>:I2C:RWBit INADdress is set, the returned address includes the R/W bit (8 bit) . Otherwise, the pure address without the R/W bit is returned (7 bit, same result as returned with methodRsRtx.bus.i2C.frame.adevice.get()) .- Parameters:
bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)
busFrameNull – optional repeated capability selector. Default value: Nr0 (settable in the interface ‘Frame’)
- Returns:
address: To set the value format, use method
RsRtx.formatPy.bpattern(). The values below – range, increment and default – are decimal values.