classUartDevice

External Object wrapping the state of an external serial device (TX/RX queues, decoding, command table or Python script, deadlines) - see requirements.md, decision "Périphériques UART externes connectables"

Extends from ExternalObject.

Information

No worker thread, unlike Internal.Runtime.PyRuntime: a device reacts without ever suspending itself. In Table mode no Python code runs; in Script mode, the script's handlers run on the Modelica thread, in the interpreter shared with the microcontroller. The bit/byte engine is exactly the microcontroller's one (Resources/Include/uartcore.c), shared and not duplicated.

Contents

NameDescription
constructor
destructor