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; }
public static bool TransceiverMode(this TransceiverModeEnum input) { return(input == TransceiverModeEnum.Receiver); }