Software Library Reference Manual for VME 429 73
Section 4 - Memory Functions
4.5 Api429WriteBlockMemData
P
P
r
r
o
o
t
t
o
o
t
t
y
y
p
p
e
e
:
:
AiUInt8 Api429WriteBlockMemData( AiUInt8 b_Module, AiUInt8 memtype, AiUInt32
offset, AiUInt8 width, void *data_p, AiUInt32 size,
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 is used to write a data block to the AIM board memory in avoidance of
AIM board command and acknowledge interface access. This is necessary to
access the AIM board memory in case of interrupt. The function does a direct
access to the AIM board memory with the specified offset address.
I
I
n
n
p
p
u
u
t
t
A
A
i
i
U
U
I
I
n
n
t
t
8
8
m
m
e
e
m
m
t
t
y
y
p
p
e
e
Memory Type to be accessed
Value Constant Description
0 API_MEMTYPE_GLOBAL
Global Memory access
1 API_MEMTYPE_SHARED
Shared Memory access
2 API_MEMTYPE_LOCAL
Local Memory access
3 API_MEMTYPE_IO
IO/Galileo Memory access
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
o
o
f
f
f
f
s
s
e
e
t
t
Byte offset address relative to the start of a specific onboard memory described
in parameter ‘memtype’.
A
A
i
i
U
U
I
I
n
n
t
t
8
8
w
w
i
i
d
d
t
t
h
h
Data width of access
Value Synonym Description
1 sizeof(AiUInt8)
Byte data access
2 sizeof(AiUInt16)
Word data access
4 sizeof(AiUInt32)
Longword data access
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
s
s
i
i
z
z
e
e
Amount of data block elements.
v
v
o
o
i
i
d
d
*
*
d
d
a
a
t
t
a
a
_
_
p
p
Data to write from. This pointer should match to the data size given in the
parameter ‘width’.