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