I2C Write (Function Index 28)
Artikkeli 11/19/2022
1 avustaja
Palaute
Tässä artikkelissa
This _DSM Interface for Byte Addressable Energy Backed Function Class (Function Interface 1) function writes an Inter-Integrated Circuit (I2C) register. This functionality enables scenarios that require the use of vendor-specific registers. It's also used for debugging.
Arg3
Field
Byte length
Byte offset
Description
Page
1
0
The page in which the I2C register is located.
Offset
1
1
The register’s offset inside the page.
Data
1
2
The data to be written to the register.
Output
Field
Byte length
Byte offset
Register
Description
Status
4
0
This function can return the following Function-Specific Error Codes: 1. Invalid page. 2. This register cannot be written to. For more information, see _DSM Method Output .
Related articles
I2C Read (Function Index 27)