EasyManua.ls Logo

Aim MIL-STD-1553 - Apicmdsynccounterget

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
96
Chapter 3 System Functions
3.1.16 ApiCmdSyncCounterGet
Prototype:
AiInt16 ApiCmdSyncCounterGet ( AiUInt32 ul_ModuleHandle, AiUInt8 uc_Biu,
TY_API_SYNC_CNT_GET *px_SyncCntGet );
Driver Command:
API_SYNC_CNT_GET (0x26)
Purpose:
This function reads all synchronization counter values.
BC Mode Code Handling:
The synchronization counter is used for the data word of a synchronize mode code
(MC17).
RT Mode Code Handling:
MC1 (Synchronize) This mode command resets the synchronization
counter and updates the synchronization init time
tags.
MC17 (Synchronize with DW) This mode command initializes the synchronization
counter with the received data value and updates
the synchronization time tags.
Note: On BC side the functionaliy is only applicaple if enabled with the function
ApiCmdBCModeCtrl()!
Note: On RT side the functionaliy is only applicaple if the BC is not running!
Input
N
N
o
o
n
n
e
e
Output
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
S
S
N
N
Y
Y
C
C
_
_
C
C
N
N
T
T
_
_
G
G
E
E
T
T
*
*
p
p
x
x
_
_
S
S
y
y
n
n
c
c
C
C
n
n
t
t
G
G
e
e
t
t
Synchronization Counter get structure
typedef struct ty_api_sync_cnt_set
{
AiUInt32 ul_SyncCntVal;
AiUInt32 ul_SyncCntInit;
AiUInt32 ul_SyncCntInitLow;
AiUInt32 ul_SyncCntInitHigh;
} TY_API_SYNC_CNT_SET

Table of Contents

Other manuals for Aim MIL-STD-1553