Solvline Eddy DK User Manual
Page 106

Eddy DK Programmer Guide
106
SB_GetMsr
Function
Reads MSR register value from serial port
Format
Char SB_GetMsr (int handle);
Parameter
handle
Handle to serial port.
Returns
Value
MSR Register 값
Bit 7 6 5 4 3 2 1 0
Bit0: CTS change
Bit1: DSR change
Bit2: RI change
Bit3: DCD change
Bit4: CTS (0:Low, 1:High)
Bit5: DSR (0:Low, 1:High)
Bit6: RI (0:Low, 1:High)
Bit7: DCD (0:Low, 1:High)
Notice
SB_SetRts
Function
Controls RTS signal line of the serial port.
Format
Void SB_SetRts (int handle, int value);
Parameter
handle
Handle to serial port.
Value
0: off Set RTS signal to low.
1: on Set RTS signal to high.
Returns
None
Notice
SB_SetDtr
Function
Controls DTR signal line of the serial port.
Format
Void SB_SetDtr (int handle, int value);
Parameter
handle
Handle to serial port.
Value
0: off Set DTR signal to low.
1: on Set DTR signal to high.
Returns
None
Notice