Skip to content
Commit a3660d17 authored by Eran Gal's avatar Eran Gal Committed by Anas Nashif
Browse files

drivers: i2c_shell: Add direct_read sub command



Adds a direct_read subcommand to the I2C command.
Usage: I2C direct_read <device> <addr> [<nbytes>].
This command reads directly from the I2C device without first writing
a register address.

Signed-off-by: default avatarEran Gal <erang@google.com>
parent e4ea597a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment