參數(shù)資料
型號(hào): CT2577
廠商: Aeroflex Inc.
英文描述: APPLICATION NOTE #108
文件頁數(shù): 16/41頁
文件大小: 112K
代理商: CT2577
16
APPLICATION NOTE #108
Released 9/98
DATA STORAGE AND RETRIEVAL IN RAM
The storage and retrieval of data on RAM is optimized for fast processor accesses. The
data (Transmit or Receive) is stored with the first data word (Word #0) in memory location
#0n and the last data word (Word #n) in location 00. The processor reads the Command
word and extracts the T/R bit, subaddress, and word count bits as a pointer to the proper
memory location. The word count field is used as a down counter variable so that a Do Loop
routine is executed and then branched out at counter = 00. This may be more efficient in
some compilers than an up counter and comparing current loop counter with word count
field on every loop. The following section contains sample software pseudo code for data
handling. See Memory Map for further details.
SAMPLE SOFTWARE CODE
The following section contains sample pseudo-code for programming and operation the
SmaRT unit. The code most resembles Microsoft Quick Basic code (IBM DOS compatible)
for simplicity.
RETRIEVING OR LOADING DATA TO RAM
REM *******************************************************************************************
REM *
REM * Routines for operation in Remote Terminal (RT) Mode
REM *
REM ********************************************************************************************
REM ********************************************************************************************
REM * Variables
REM * _______
REM *
REM * NCMDEMPTY 0 = EMPTY (NO Command WORDS IN FIFO)
REM * 1 = HAVE COMMAND WORDS IN FIFO
REM *
REM * This signal is derived from NEMPTY
REM * on the CT2577.
REM *
REM * MODE 0 = RT MODE
REM * 1 = BC MODE
REM *
REM * CMDWORD = COMMAND WORD READ FROM FIFO
REM *
REM * WORDCNT = LOWER 5 BIT OF COMMAND WORD
REM * INDICATES HOW MANY DATA WORDS
REM *
REM * DATA() = DATA ARRAY (32 WORDS MAX)
REM *
REM * MEMPOINT = LOWER 11 BITS OF THE COMMAND WORD
REM *
REM * T/R_BIT = BIT #10 OF THE COMMAND WORD
REM *
REM *
相關(guān)PDF資料
PDF描述
CT2579 APPLICATION NOTE #108
CT2581-02-IN-F84 CT2578 / CT2581 SIMPLE REMOTE TERMINAL FOR MIL-STD-1553 / 1760 & McAir
CT2581-02-IN-P119 CT2578 / CT2581 SIMPLE REMOTE TERMINAL FOR MIL-STD-1553 / 1760 & McAir
CT2581 CT2578 / CT2581 SIMPLE REMOTE TERMINAL FOR MIL-STD-1553 / 1760 & McAir
CT2581-02-XT-F84 CT2578 / CT2581 SIMPLE REMOTE TERMINAL FOR MIL-STD-1553 / 1760 & McAir
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
CT2578 制造商:AEROFLEX 制造商全稱:AEROFLEX 功能描述:CT2578 / CT2581 SIMPLE REMOTE TERMINAL FOR MIL-STD-1553 / 1760 & McAir
CT2578-02-CG-F84 制造商:AEROFLEX 制造商全稱:AEROFLEX 功能描述:CT2578 / CT2581 SIMPLE REMOTE TERMINAL FOR MIL-STD-1553 / 1760 & McAir
CT2578-02-CG-P119 制造商:AEROFLEX 制造商全稱:AEROFLEX 功能描述:CT2578 / CT2581 SIMPLE REMOTE TERMINAL FOR MIL-STD-1553 / 1760 & McAir
CT2578-02-IN-F84 制造商:AEROFLEX 制造商全稱:AEROFLEX 功能描述:CT2578 / CT2581 SIMPLE REMOTE TERMINAL FOR MIL-STD-1553 / 1760 & McAir
CT2578-02-IN-P119 制造商:AEROFLEX 制造商全稱:AEROFLEX 功能描述:CT2578 / CT2581 SIMPLE REMOTE TERMINAL FOR MIL-STD-1553 / 1760 & McAir