Mcp25xxx.BitModify(Address, Byte, Byte) Method

Definition

Allows the user to set or clear individual bits in a particular register. Not all registers can be bit modified with this command.

C#
public void BitModify (Iot.Device.Mcp25xxx.Register.Address address, byte mask, byte value);

Parameters

address
Address

The address to write data.

mask
Byte

The mask to determine which bits in the register will be allowed to change. A '1' will allow a bit to change while a '0' will not.

value
Byte

The value to be written.

Applies to

Product Versions
.NET IoT Libraries 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0