Software Library Reference Manual for VME 429
181
Section 8 – Replay Functions
8.3 Api429WriteRepData
P
P
r
r
o
o
t
t
o
o
t
t
y
y
p
p
e
e
:
:
AiInt16 Api429WriteRepData( AiUInt8 b_Module, AiUInt8 uc_Chn,
TY_API429_REP_STATUS *px_RepStatus,
void *pv_Buf, AiUInt32 *pul_BytesWritten);
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
:
:
none
P
P
u
u
r
r
p
p
o
o
s
s
e
e
:
:
This function writes and copies replay data and allows an easy implementation of
an ARINC replay task.
I
I
n
n
p
p
u
u
t
t
A
A
i
i
U
U
I
I
n
n
t
t
8
8
u
u
c
c
_
_
C
C
h
h
n
n
Channel Number
Value Description
1..32
API429 transmitter channel number
T
T
Y
Y
_
_
A
A
P
P
I
I
4
4
2
2
9
9
_
_
R
R
E
E
P
P
_
_
S
S
T
T
A
A
T
T
U
U
S
S
*
*
p
p
x
x
_
_
R
R
e
e
p
p
S
S
t
t
a
a
t
t
u
u
s
s
Replay status structure (api429.h)
typedef struct
{
AiUInt8 uc_Status;
AiUInt8 uc_Padding1;
AiUInt16 uw_Padding2;
AiUInt32 ul_RpiCnt;
AiUInt32 ul_EntryCnt;
AiUInt32 ul_StartAddr;
AiUInt32 ul_Size;
} TY_API429_REP_STATUS;
'
'
A
A
i
i
U
U
I
I
n
n
t
t
8
8
u
u
c
c
_
_
S
S
t
t
a
a
t
t
u
u
s
s
'
'
-
-
O
O
u
u
p
p
u
u
t
t
Replay Status
Value Constant
Description
1 API429_HALT
Replay halted
2 API429_BUSY
Replay busy
'
'
A
A
i
i
U
U
I
I
n
n
t
t
8
8
u
u
c
c
_
_
P
P
a
a
d
d
d
d
i
i
n
n
g
g
1
1
'
'
Reserved (0)
'
'
A
A
i
i
U
U
I
I
n
n
t
t
1
1
6
6
u
u
w
w
_
_
P
P
a
a
d
d
d
d
i
i
n
n
g
g
2
2
'
'
Reserved (0)
'
'
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
R
R
p
p
i
i
C
C
n
n
t
t
'
'
-
-
O
O
u
u
t
t
p
p
u
u
t
t
Actual value of the Half Buffer Transmitted Interrupt counter (incremented each time a Half
Buffer Transmitted Interrupt occurs)
When the 'ul_RpiCnt' value is incremented, new replay data should be reloaded to the
Shared RAM and should be copied from the Shared RAM to the Global RAM of the AIM
board area using thîs library function.
Summary of Contents for AMC429
Page 2: ......