User`s manual

Software Manual • EKF Intelligent I/O Controller Family On
CompactPCI
- 105 -
EKF Elektronik GmbH * Philipp-Reis-Str. 4 * D-59065 HAMM (Germany)
Tel. +49 (0)2381/6890-0 * Fax. +49 (0)2381/6890-90 * E-Mail info@ekf.de * Internet http://www.ekf.de
Setup Insert Mode: CMDIMR_SET_INSERT_MODE
Description:
This command is used to setup the insertion of information about the line
status and the modem status in the receive data stream of a port
specified by the port identifier. An escape character is passed with this
message. If the escape character is 0x00 then the insertion mode is
turned off.
Command Code:
38.
Command Data:
The escape character in bits 07:00.
Parameters:
None.
Data:
None.
Command Word:
0x0Y26 AAAA
Flags Port ID Command Command Data
E
R
R
R
P
L
C
P
L
U
F
ID
3
ID
2
ID
1
ID
0
C
7
C
6
C
5
C
4
C
3
C
2
C
1
C
0
D
15
D
14
D
13
D
12
D
11
D
10
D
09
D
08
D
07
D
06
D
05
D
04
D
03
D
02
D
01
D0
0
0000YYYY0010011000000000AAAAAAAA
31 28 27 24 23 16 15 8 7 0
Reply:
Flags Port ID Command Command Data
E
R
R
R
P
L
C
P
L
U
F
ID
3
ID
2
ID
1
ID
0
C
7
C
6
C
5
C
4
C
3
C
2
C
1
C
0
D
15
D
14
D
13
D
12
D
11
D
10
D
09
D
08
D
07
D
06
D
05
D
04
D
03
D
02
D
01
D0
0
X110YYYY0010011000000000AAAAAAAA
31 28 27 24 23 16 15 8 7 0
The controller returns with the RPL and CPL flags set.
On error the RPL, CPL and ERR flags are set and an error code is
passed in bits 15:00 of the reply word.
Notes:
The information inserted always starts with the escape character passed
with this message and a following character describing the type of event
happened.
On receive error the escape character and the character
EKF16550_LSRMST_LSR_DATA are placed in the read ring buffer
followed by the contents of the
Line Status Register
(LSR) of the serial
controller and the character received.