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