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