SerialPinChange Enum
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.
Specifies the type of change that occurred on the SerialPort object.
public enum class SerialPinChange
public enum SerialPinChange
type SerialPinChange =
Public Enum SerialPinChange
- Inheritance
Fields
Break | 64 | A break was detected on input. |
CDChanged | 32 | The Carrier Detect (CD) signal changed state. This signal is used to indicate whether a modem is connected to a working phone line and a data carrier signal is detected. |
CtsChanged | 8 | The Clear to Send (CTS) signal changed state. This signal is used to indicate whether data can be sent over the serial port. |
DsrChanged | 16 | The Data Set Ready (DSR) signal changed state. This signal is used to indicate whether the device on the serial port is ready to operate. |
Ring | 256 | A ring indicator was detected. |
Remarks
This enumeration is used with the PinChanged event.
A serial port pin changes state when it is asserted or unasserted.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應