EasyManua.ls Logo

Aim MIL-STD-1553 - Apicmdsynccounterset

Aim MIL-STD-1553
502 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MIL-STD-1553 Reference Manual
99
Chapter 3 System Functions
3.1.17 ApiCmdSyncCounterSet
Prototype:
AiInt16 ApiCmdSyncCounterSet ( AiUInt32 ul_ModuleHandle, AiUInt8 uc_Biu,
TY_API_SYNC_CNT_SET *px_SyncCntSet );
Driver Command:
API_SYNC_CNT_SET (0x25)
Purpose:
This function sets synchronization counter init value. This counter is used for the data
word of a synchronize mode code (MC17).
Note: The functionaliy is only applicaple if enabled with the function
ApiCmdBCModeCtrl().
Input
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
S
S
N
N
Y
Y
C
C
_
_
C
C
N
N
T
T
_
_
S
S
E
E
T
T
*
*
p
p
x
x
_
_
S
S
y
y
n
n
c
c
C
C
n
n
t
t
S
S
e
e
t
t
Synchronization Counter set structure
typedef struct ty_api_sync_cnt_set
{
AiUInt32 ul_SyncCntVal;
} TY_API_SYNC_CNT_SET
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
S
S
y
y
n
n
c
c
C
C
n
n
t
t
V
V
a
a
l
l
Synchronization Counter Init Value
Value
Description
0..65535
Synchronization Counter in steps of 64µs
(range from 0..4,19 sec)
Output
n
n
o
o
n
n
e
e
Return Value
A
A
i
i
I
I
n
n
t
t
1
1
6
6
All API functions return API_OK if no error occurred. If the return value is not equal
to API_OK the function ApiGetErrorDescription can be used to obtain an error
description.

Table of Contents

Other manuals for Aim MIL-STD-1553