Beispiel #1
0
 public void SetDecodeMode(DecodeModeRegister value)
 {
     if (value < DecodeModeRegister.NoDecodeMode || value > DecodeModeRegister.DecodeDigitAll)
     {
         throw new ArgumentOutOfRangeException("value");
     }
     Write((byte)RegisterAddressMap.DecodeMode, (byte)value);
 }
Beispiel #2
0
 public void SetDecodeMode(DecodeModeRegister value)
 {
     if (value < DecodeModeRegister.NoDecodeMode || value > DecodeModeRegister.DecodeDigitAll) {
         throw new ArgumentOutOfRangeException("value");
     }
     Write((byte) RegisterAddressMap.DecodeMode, (byte) value);
 }