Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
The I2CSensorReadRegister function reads the devices register(s) over I2C.
Syntax
NTSTATUS I2CSensorReadRegister(
WDFIOTARGET I2CIoTarget,
UCHAR RegAddress,
BYTE *Buffer,
ULONG BufferCb
);
Parameters
I2CIoTarget
Supplies the WDF I2C I/O target handle.
RegAddress
Supplies the I2C register address to read from.
Buffer
Supplies a buffer in which to read the contents of the register to.
BufferCb
Supplies the size of the buffer.
Return value
This function returns NTSTATUS.
Requirements
| Requirement | Value |
|---|---|
| Header | sensorsdriversutils.h |