Class RxStatusResponse
Response from RX STATUS instruction.
public class RxStatusResponse
- Inheritance
-
RxStatusResponse
Constructors
RxStatusResponse(FilterMatchType, MessageReceivedType, ReceivedMessageType)
Initializes a new instance of the RxStatusResponse class.
public RxStatusResponse(RxStatusResponse.FilterMatchType filterMatch, RxStatusResponse.MessageReceivedType messageTypeReceived, RxStatusResponse.ReceivedMessageType receivedMessage)
Parameters
filterMatch
RxStatusResponse.FilterMatchTypeFilter match type
messageTypeReceived
RxStatusResponse.MessageReceivedTypeThe extended ID bit is mapped to bit 4. The RTR bit is mapped to bit 3.
receivedMessage
RxStatusResponse.ReceivedMessageTypeRXxIF (CANINTF) bits are mapped to bits 7 and 6.
RxStatusResponse(byte)
Initializes a new instance of the RxStatusResponse class.
public RxStatusResponse(byte value)
Parameters
value
byteThe value that represents the ReceivedMessage, MessageTypeReceived and FilterMatch.
Properties
FilterMatch
Filter match type
public RxStatusResponse.FilterMatchType FilterMatch { get; }
Property Value
MessageTypeReceived
The extended ID bit is mapped to bit 4. The RTR bit is mapped to bit 3.
public RxStatusResponse.MessageReceivedType MessageTypeReceived { get; }
Property Value
ReceivedMessage
RXxIF (CANINTF) bits are mapped to bits 7 and 6.
public RxStatusResponse.ReceivedMessageType ReceivedMessage { get; }
Property Value
Methods
ToByte()
Converts contents to a byte.
public byte ToByte()
Returns
- byte
The byte that represent the response contents.