62
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Transmitter Functions
4.3.2.2 FdxCmdTxQueueStatus
Prototype:
AiReturn FdxCmdTxQueueStatus( AiUInt32 ul_Handle,
TY_FDX_TX_QUEUE_STATUS *px_TxQueueStatus );
Driver Command:
FDX_TX_QUEUE_STATUS (0x00008057)
Purpose:
This function is used to retrieve the AFDX Transmit Queue status when in Generic or Replay
Transmit Mode.
Input:
None
Output:
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
T
T
X
X
_
_
Q
Q
U
U
E
E
U
U
E
E
_
_
S
S
T
T
A
A
T
T
U
U
S
S
*
*
p
p
x
x
_
_
T
T
x
x
Q
Q
u
u
e
e
u
u
e
e
S
S
t
t
a
a
t
t
u
u
s
s
Pointer to an information structure of the transmitter
typedef struct {
TY_FDX_E_TX_QUE_STATUS
e_QueueStatus;
AiUInt32
ul_BytesReloadable;
AiUInt32
ul_FramesSent;
AiUInt32
ul_FramesInCycQueue;
} TY_FDX_TX_QUEUE_STATUS;
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
E
E
_
_
T
T
X
X
_
_
Q
Q
U
U
E
E
_
_
S
S
T
T
A
A
T
T
U
U
S
S
e
e
_
_
T
T
x
x
Q
Q
u
u
e
e
u
u
e
e
S
S
t
t
a
a
t
t
u
u
s
s
;
;
An enumerated value, which describes the state of the generic transmit queue
typedef enum fdx_que_status {
FDX_QUE_EMPTY,
FDX_QUE_FILLED,
FDX_QUE_FULL,
FDX_QUE_SENT,
FDX_QUE_CYCL_RUN,
FDX_QUE_CYCL_SENT,
FDX_QUE_RP_UNDERRUN
} TY_FDX_E_TX_QUE_STATUS;