MBLI2CData Class Reference

Conforms to ResultType
Declared in MBLI2CData.h

Overview

Interface for reading/writing a specific I2C device register.

– writeDataAsync:

Write the given value to the I2C register

- (BFTask *)writeDataAsync:(nullable NSData *)data

Parameters

data

Data to be written

Declared In

MBLI2CData.h

– writeByteAsync:

Write the given byte to the I2C register

- (BFTask *)writeByteAsync:(uint8_t)byte

Parameters

byte

Byte to be written

Declared In

MBLI2CData.h

– writeWordAsync:

Write the given word to the I2C register

- (BFTask *)writeWordAsync:(uint16_t)word

Parameters

word

Word to be written

Declared In

MBLI2CData.h

– writeDwordAsync:

Write the given dword to the I2C register

- (BFTask *)writeDwordAsync:(uint32_t)dword

Parameters

dword

Dword to be written

Declared In

MBLI2CData.h