UART receiving method and device, electronic equipment and readable storage medium
The embodiment of the invention provides a UART (Universal Asynchronous Receiver/Transmitter) receiving method and device, electronic equipment and a readable storage medium, which are applied to thetechnical field of aviation, and the method comprises the following steps: periodically sampling an a...
Gespeichert in:
Hauptverfasser: | , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention provides a UART (Universal Asynchronous Receiver/Transmitter) receiving method and device, electronic equipment and a readable storage medium, which are applied to thetechnical field of aviation, and the method comprises the following steps: periodically sampling an acquired received signal according to a preset code element period in a data state; when each presetcode element period starts, a code element counter is started, a sampling signal is obtained in each clock period in the preset code element period, 1 is added to the value of the code element counter, and the initial value of the code element counter is 0; if the value of the code element counter reaches a preset code element period; or, if the ratio of the value of the code element counter to the preset code element period is smaller than a first preset ratio, the acquired sampling signal jumps; or, if the ratio of the value of the code element counter to the preset code element period is greater than a second prese |
---|