![background image](http://html1.mh-extra.com/html/aim/amc429/amc429_reference-manual_2871731048.webp)
38
Software Library Reference Manual for VME 429
Section 3 - System Functions
3.2 Api429CmdBiuIntrCheck
P
P
r
r
o
o
t
t
o
o
t
t
y
y
p
p
e
e
:
:
AiUInt8 Api429CmdBiuIntrCheck( AiUInt8 b_Module, AiUInt8 b_DestBiu,
AiUInt32 *pl_Stat,
TY_API429_INTR_REGS *px_Regs );
D
D
r
r
i
i
v
v
e
e
r
r
C
C
o
o
m
m
m
m
a
a
n
n
d
d
:
:
API429_BIU_INTR_STATUS (0x40)
P
P
u
u
r
r
p
p
o
o
s
s
e
e
:
:
This command is used to read the interrupt status of the API429 BIU. Up to 32
interrupt events can be stored for two consecutive calls of this function.
Note:
32 interrupt events as a maximum (API429_MAX_IR_EVENT_BUF) can be
buffered in the TY_API429_INTR_REGS data structure. Index 0 contains the
latest occurred interrupt event.
The number of valid buffered interrupt events is equal to the returned
'pl_stat' value. The number of interrupt events is cleared with every call of
this function. If 'pl_Stat' is > 32, the entries in the structure
TY_API429_INTR_REGS are undefined and set to 0xFFFFFFFF (overflow).
I
I
n
n
p
p
u
u
t
t
A
A
i
i
U
U
I
I
n
n
t
t
8
8
b
b
_
_
D
D
e
e
s
s
t
t
B
B
i
i
u
u
Discrete Channel ID
Value Description
0
Channel 1..16
1
Channel 17..32
O
O
u
u
t
t
p
p
u
u
t
t
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
*
*
p
p
l
l
_
_
S
S
t
t
a
a
t
t
Interrupt counter, number of occurred BIU interrupt events between two
consecutive calls of this function.
Value Description
0
No interrupt event occurred
>0
Count of interrupt events (set to 0 after calling this function!)
T
T
Y
Y
_
_
A
A
P
P
I
I
4
4
2
2
9
9
_
_
I
I
N
N
T
T
R
R
_
_
R
R
E
E
G
G
S
S
*
*
p
p
x
x
_
_
R
R
e
e
g
g
s
s
Pointer to loglist structure of occurred BIU interrupt events (api429.h)
typedef struct
{
AiUInt32 l_Lla[ API429_MAX_IR_EVENT_BUF ];
AiUInt32 l_Llb[ API429_MAX_IR_EVENT_BUF ];
} TY_API429_INTR_REGS;
Summary of Contents for AMC429
Page 2: ......