Exemple #1
0
 public ConfigurationRegister(bool receiveInterruptEnabled, bool transmitInterruptEnabled, bool retransmitLimitReachedInterruptEnabled, bool crcEnabled, CrcLengthEnum crcLength, PowerStateEnum powerState, TransceiverModeEnum transceiverMode)
 {
     ReceiveInterruptEnabled  = receiveInterruptEnabled;
     TransmitInterruptEnabled = transmitInterruptEnabled;
     RetransmitLimitReachedInterruptEnabled = retransmitLimitReachedInterruptEnabled;
     CrcEnabled      = crcEnabled;
     CrcLength       = crcLength;
     PowerState      = powerState;
     TransceiverMode = transceiverMode;
 }
Exemple #2
0
 public static bool TransceiverMode(this TransceiverModeEnum input)
 {
     return(input == TransceiverModeEnum.Receiver);
 }