TxBxCtrl Constructors
Definition
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.
Overloads
TxBxCtrl(Byte, Byte) |
Initializes a new instance of the TxBxCtrl class. |
TxBxCtrl(Byte, TxBxCtrl+BufferPriority, Boolean, Boolean, Boolean, Boolean) |
Initializes a new instance of the TxBxCtrl class. |
TxBxCtrl(Byte, Byte)
Initializes a new instance of the TxBxCtrl class.
public TxBxCtrl (byte txBufferNumber, byte value);
new Iot.Device.Mcp25xxx.Register.MessageTransmit.TxBxCtrl : byte * byte -> Iot.Device.Mcp25xxx.Register.MessageTransmit.TxBxCtrl
Public Sub New (txBufferNumber As Byte, value As Byte)
Parameters
- txBufferNumber
- Byte
Transmit Buffer Number. Must be a value of 0 - 2.
- value
- Byte
The value that represents the register contents.
Applies to
TxBxCtrl(Byte, TxBxCtrl+BufferPriority, Boolean, Boolean, Boolean, Boolean)
Initializes a new instance of the TxBxCtrl class.
public TxBxCtrl (byte txBufferNumber, Iot.Device.Mcp25xxx.Register.MessageTransmit.TxBxCtrl.BufferPriority transmitBufferPriority, bool messageTransmitRequest, bool transmissionErrorDetected, bool messageLostArbitration, bool messageAbortedFlag);
new Iot.Device.Mcp25xxx.Register.MessageTransmit.TxBxCtrl : byte * Iot.Device.Mcp25xxx.Register.MessageTransmit.TxBxCtrl.BufferPriority * bool * bool * bool * bool -> Iot.Device.Mcp25xxx.Register.MessageTransmit.TxBxCtrl
Public Sub New (txBufferNumber As Byte, transmitBufferPriority As TxBxCtrl.BufferPriority, messageTransmitRequest As Boolean, transmissionErrorDetected As Boolean, messageLostArbitration As Boolean, messageAbortedFlag As Boolean)
Parameters
- txBufferNumber
- Byte
Transmit Buffer Number. Must be a value of 0 - 2.
- transmitBufferPriority
- TxBxCtrl.BufferPriority
TXP[1:0]: Transmit Buffer Priority bits.
- messageTransmitRequest
- Boolean
TXREQ: Message Transmit Request bit. True = Buffer is currently pending transmission (MCU sets this bit to request message be transmitted bit is automatically cleared when the message is sent). False = Buffer is not currently pending transmission (MCU can clear this bit to request a message abort).
- transmissionErrorDetected
- Boolean
TXERR: Transmission Error Detected bit. True = A bus error occurred while the message was being transmitted. False = No bus error occurred while the message was being transmitted.
- messageLostArbitration
- Boolean
MLOA: Message Lost Arbitration bit. True = Message lost arbitration while being sent. False = Message did not lose arbitration while being sent.
- messageAbortedFlag
- Boolean
ABTF: Message Aborted Flag bit. True = Message was aborted. False = Message completed transmission successfully.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for