Edit

Share via


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.

public void BitModify (Iot.Device.Mcp25xxx.Register.Address address, byte mask, byte value);
member this.BitModify : Iot.Device.Mcp25xxx.Register.Address * byte * byte -> unit
Public Sub BitModify (address As Address, mask As Byte, value As Byte)

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