Download Manual - Western Avionics Ltd

Transcript
5 .6
INTERRUPTS CODING
5 .6 .1
Low and High Priority Interrupts (two word code)
On data messages without error
On data messages with error
On mode commands without error
On mode commands with error
On HS mode commands without error
On HS mode commands with error
:
:
:
:
:
:
0800H, DDB address
0C00H, DDB address
0900H, DDB address
0D00H, DDB address
0AXXH, Action word
0EXXH, Action word (XX = RT number)
5 .6 .2
Message lnterrupts (or set of messages interrupt)
One word code equals message interrupt code in data descriptor block. The code is pushed in queue only if the
message is correct. Sets of Messages: Same feature as for BC mode.
5 .6 .3
Status Report Queue (two words per report)
Code pushed into queue only if error on message and Interrupt on erroneous message not set in the DDB.
1st Word:
Pointer to the double word in look-up-table (look-up-table address + index)
2nd Word:
Events
BIT 15 :
IT 14 :
IT 13 :
IT 12 :
BIT 11 :
BIT 10 to 7:
BIT 06 :
BIT 05 :
BIT 04 :
BIT 03 :
BIT 02 :
BIT 01 :
BIT 00 :
Wrong/Both Buses Error
No Response Error
RT Address Error
TX Error- Mn, Lg, Sh, Py, WC, Late-Response
SYNC Type Error
Not Used
HS wordcount error polarity ( 1 = Too many words).
HS Word Count Error
HS FCS Error
HS preamble bit count error.
HS manchester encoding error
HS RI timeout
HS bit count error
The bits 15 to 11 are used for:
NOTE:
•
Status Word and data if it's an LS message.
•
Status Word if it's a transmitted HS message.
If an error is detected on an action word (data following a receive command with HS sub-address)
a report is pushed in the queue:
1st Word
2nd Word
U
U
M
R
UM
M111000999666222R
ReeevvvCCC
:
:
Pointer to the LS look-up-table with index = HS sub-address
LS error code on bits 15 to 11.
- 50 -