User`s manual

Software Manual • EKF Intelligent I/O Controller Family On
CompactPCI
- 99 -
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
These are the events supported on CANbus ports:
SJA1000_EV_RXFRAME: a frame received,
SJA1000_EV_BUSOFF: a bus-off event occurred,
SJA1000_EV_BUSON: a bus-on event occurred,
SJA1000_EV_ERR: an error occurred.
An event message is sent to the host if at least one of the enabled
events occurred. The event message has the following appearance:
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
0010YYYY00001011AAAAAAAAAAAAAAAA
31 28 27 24 23 16 15 8 7 0
The event message has the command code 11 and passes the event(s)
happened in bits 15:00 with CPL flag set. The port ID specifies the port
where the event(s) occurred. The events correspond to the event flags
described above.