public void SetUartOperatingMode(UARTMode mode, SensorPort port) { unchecked { UartDevice.IoCtl((Int32)UartIOSetConnection, SetupCommand(port, ConnectionType.UART, SensorType.None, (byte)mode)); } }
public void ClearUartPortChanged(SensorPort port) { unchecked { UartDevice.IoCtl((Int32)UartIOClearChanges, SetupCommand(port, ConnectionType.UART, SensorType.None, (byte)UARTMode.Mode0)); } }
public void ResetUart(SensorPort port) { unchecked { UartDevice.IoCtl((Int32)UartIOSetConnection, SetupCommand(port, ConnectionType.None, SensorType.None, 0)); } }