UART

API Documentation: [cpp] [python] [.NET] [CCA] [REST]

The UART entity is a class which allows a user to configure and control an arbitrary stream of serial data. These streams can represent a number of different transports, including a RS232 external interface, a virtual COM port, and onboard UART interfaces from system components. This entity allows each transport to be configured as either an endpoint, or as a passthrough between transports, similar to a switchboard of a telephone operator.


UART entities provide a mechanism to enable and disable UART data lines. All the UARTs that are passed down from the MTM-IO-Serial module can be turned on/off through software control. If a voltage is applied that is higher than the current rail voltage setpoint, each UART transmit line is current limited to 20mA sinking. Therefore, only a small amount of current will flow into the device, preventing any damage to the MTM-IO-SERIAL module’s hardware

Get/Set Enable

This command enables the reflex file in the given store and slot. This command is accessible from the reflex language.

stem.uart[index].setEnable(bEnable) [cpp] [python] [NET] [CCA] [REST]

stem.uart[index].getEnable() [cpp] [python] [NET] [CCA] [REST]

../../../../_images/MTM-IO-SERIAL-uart.png