beautypg.com

Solvline Eddy DK Ver 2.20 User Manual

Page 50

background image

Chapter 6. Library

0 : 150 BPS,

2 : 600 BPS

4 : 2400 BPS

6 : 9600 BPS

8 : 38400 BPS

10 : 115200 BPS

12 : 460800 BPS

1 : 300 BPS

3 : 1200 BPS:

5 : 4800 BPS

7 : 19200 BPS

9 : 57600 BPS

11 : 230400 BPS

13 : 921600 BPS

LCR

X X P P S D D (8 bis binary)

P P : Parity Bits

0 0 : None, 0 1 : Odd, 1 0, 1 1: Even

S : Stop Bits

0 : 1 bits, 1 : 2 bits

D D : Data Bits

0 0 : 5 bits, 0 1 : 6 bits

1 0 : 7 bits, 1 1 : 8 bits

FlowControl

Types of flow control

0: no flow control

1: RTS/CTS flow control

2: Xon/Xoff flow contorl

Returns None

Notice

SB_SetSerialInterface

Function

Configures interface type of serial port.

Format Void

SB_SetSerialInterface

(int

Interface);

Parameter

Interface

Interface ID of RS422/RS485

: RS422 (point to Point)

: RS422 (MultiDrop)

: RS485 (None_Echo)

4. : RS485 (Echo)

Returns None

Notice

This function is needed only for serial model named “-C”, that is RS-
422/486 combo model; it is not needed when the user is developing
new hardware using Eddy-CPU.
DK board has two on-board serial ports. User can use the first serial
port for either RS422 or RS485 if the user sets DIP switch on DK board
to make it recognized as Eddy-DK.

SB_SendSerial

6-7