Eddy DK Programmer Guide
104
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);
handle
Handle to serial port.
Parameter
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);
handle
Handle to serial port.
Parameter
Value
0: off Set DTR signal to low.
1: on Set DTR signal to high.
Returns
None
Notice
Содержание Eddy DK
Страница 1: ...1 Eddy DK Programmer Guide Ver 2 5 1 1 2011 02 15...
Страница 10: ...Eddy DK Programmer Guide 10 2 3 Eddy CPU v2 1 v2 5...
Страница 36: ...Eddy DK Programmer Guide 36 2 4 4 External Device Interface Description...
Страница 47: ...Eddy DK Programmer Guide 47 Eddy S4M v2 1 Eddy S4M v2 5...