readRegister
Syntax
Description
Add-On Required: This feature requires the MATLAB Coder Support Package for NVIDIA Jetson and NVIDIA DRIVE Platforms add-on.
reads a single data = readRegister(i2cObj,regAddress)uint8 value from the register address,
regAddress, of the I2C device i2cObj.
reads the value from the register as the data type
data = readRegister(i2cObj,regAddress,dataPrecision)dataPrecision.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2026a