System Console and Toolkit Tcl Command Reference Manual

ID 683101
Date 4/01/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

1.1.83. io_bus_access

Description

Writes the list of byte values starting at the specified base address. For I2C the address is shifted left before being written to the device. An I2C access sends one transaction containing upto three segments: if write-values is not empty then it sends a START followed by the write address and write values; if read-count is > 0 then it sends a START followed by the requested number of reads; finally it sends a STOP. The return value is a list of the values read.

Usage

io_bus_access <service-path> <address> <write> <read_count>

ReturnType

String[]

Returns

Arguments

service-path
address
write
read_count