Mcp25xxx.BitModify(Address, Byte, Byte) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
member this.BitModify : Iot.Device.Mcp25xxx.Register.Address * byte * byte -> unit
Public Sub BitModify (address As Address, mask As Byte, value As Byte)
- 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.
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 |