Show / Hide Table of Contents

Interface ISerialPort

Namespace: Hal.Natives
Assembly: FRC.Hal.dll
Syntax
[StatusCheckedBy(typeof(StatusHandling), null)]
public interface ISerialPort

Methods

| Improve this Doc View Source

HAL_ClearSerial(Int32)

Declaration
void HAL_ClearSerial(int handle)
Parameters
Type Name Description
Int32 handle
| Improve this Doc View Source

HAL_CloseSerial(Int32)

Declaration
void HAL_CloseSerial(int handle)
Parameters
Type Name Description
Int32 handle
| Improve this Doc View Source

HAL_DisableSerialTermination(Int32)

Declaration
void HAL_DisableSerialTermination(int handle)
Parameters
Type Name Description
Int32 handle
| Improve this Doc View Source

HAL_EnableSerialTermination(Int32, Byte)

Declaration
void HAL_EnableSerialTermination(int handle, byte terminator)
Parameters
Type Name Description
Int32 handle
Byte terminator
| Improve this Doc View Source

HAL_FlushSerial(Int32)

Declaration
void HAL_FlushSerial(int handle)
Parameters
Type Name Description
Int32 handle
| Improve this Doc View Source

HAL_GetSerialBytesReceived(Int32)

Declaration
int HAL_GetSerialBytesReceived(int handle)
Parameters
Type Name Description
Int32 handle
Returns
Type Description
Int32
| Improve this Doc View Source

HAL_GetSerialFD(Int32)

Declaration
int HAL_GetSerialFD(int handle)
Parameters
Type Name Description
Int32 handle
Returns
Type Description
Int32
| Improve this Doc View Source

HAL_InitializeSerialPort(SerialPortLocation)

Declaration
[StatusCheckRange(0, typeof(StatusHandling), "SerialPortStatusCheck")]
int HAL_InitializeSerialPort(SerialPortLocation port)
Parameters
Type Name Description
SerialPortLocation port
Returns
Type Description
Int32
| Improve this Doc View Source

HAL_InitializeSerialPortDirect(SerialPortLocation, Byte*)

Declaration
int HAL_InitializeSerialPortDirect(SerialPortLocation port, byte *portName)
Parameters
Type Name Description
SerialPortLocation port
Byte* portName
Returns
Type Description
Int32
| Improve this Doc View Source

HAL_ReadSerial(Int32, Byte*, Int32)

Declaration
int HAL_ReadSerial(int handle, byte *buffer, int count)
Parameters
Type Name Description
Int32 handle
Byte* buffer
Int32 count
Returns
Type Description
Int32
| Improve this Doc View Source

HAL_SetSerialBaudRate(Int32, Int32)

Declaration
void HAL_SetSerialBaudRate(int handle, int baud)
Parameters
Type Name Description
Int32 handle
Int32 baud
| Improve this Doc View Source

HAL_SetSerialDataBits(Int32, Int32)

Declaration
void HAL_SetSerialDataBits(int handle, int bits)
Parameters
Type Name Description
Int32 handle
Int32 bits
| Improve this Doc View Source

HAL_SetSerialFlowControl(Int32, Int32)

Declaration
void HAL_SetSerialFlowControl(int handle, int flow)
Parameters
Type Name Description
Int32 handle
Int32 flow
| Improve this Doc View Source

HAL_SetSerialParity(Int32, Int32)

Declaration
void HAL_SetSerialParity(int handle, int parity)
Parameters
Type Name Description
Int32 handle
Int32 parity
| Improve this Doc View Source

HAL_SetSerialReadBufferSize(Int32, Int32)

Declaration
void HAL_SetSerialReadBufferSize(int handle, int size)
Parameters
Type Name Description
Int32 handle
Int32 size
| Improve this Doc View Source

HAL_SetSerialStopBits(Int32, Int32)

Declaration
void HAL_SetSerialStopBits(int handle, int stopBits)
Parameters
Type Name Description
Int32 handle
Int32 stopBits
| Improve this Doc View Source

HAL_SetSerialTimeout(Int32, Double)

Declaration
void HAL_SetSerialTimeout(int handle, double timeout)
Parameters
Type Name Description
Int32 handle
Double timeout
| Improve this Doc View Source

HAL_SetSerialWriteBufferSize(Int32, Int32)

Declaration
void HAL_SetSerialWriteBufferSize(int handle, int size)
Parameters
Type Name Description
Int32 handle
Int32 size
| Improve this Doc View Source

HAL_SetSerialWriteMode(Int32, Int32)

Declaration
void HAL_SetSerialWriteMode(int handle, int mode)
Parameters
Type Name Description
Int32 handle
Int32 mode
| Improve this Doc View Source

HAL_WriteSerial(Int32, Byte*, Int32)

Declaration
int HAL_WriteSerial(int handle, byte *buffer, int count)
Parameters
Type Name Description
Int32 handle
Byte* buffer
Int32 count
Returns
Type Description
Int32
  • Improve this Doc
  • View Source
Back to top Copyright © 2017 RobotDotNet