| Motore di ricerca datesheet componenti elettronici |
|
ETL9345 Scheda tecnica(PDF) 23 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ETL9345 Scheda tecnica(HTML) 23 Page - STMicroelectronics |
|
23 / 27 page ![]() occurred on the IN3 and IN0 inputs since the last INIL instruction, provided the input pulse stays low for at least two instruction times. Execution of an INIL in- puts IL3 and IL0 into A3 and A0 respectively, and re- sets these latches to allow them to respond to subsequent low-going pulses on the IN3 and IN0 lines. If CKO is mask programmed as a general pur- pose input, an INIL will input the state of CKO into A2. If CKO has not been so programmed, a ”1” will be placed in A2. A ”0” is always placed in A1 upon the execution of an INIL. The general purpose inputs IN3-IN0 are input to A upon execution of an ININ in- struction. (see table 2, ININ instruction). INIL is use- ful in recognizing pulses of short duration or pulses which occur too often to be read conveniently by an ININ instruction. Note : IL latches are not cleared on reset : IL3 and IL0 not input on ETL9444/L9445. LQID INSTRUCTION LQID (Load Q Indirect) loads the 8-bit Q register with the contents of ROM pointed to by the 11-bit word PC10,PC9,PC8, A, M. LQID can be used for table lookup or code conversion such as BCD to seven- segment. The LQID instruction ”pushes” the stack (PC + 1 → SA → SB → SC) and replaces the least significant 8 bits of PC as follows : A – PC7:4, RAM (B) → PC3:0, leaving PC10,PC9 and PC8 unchan- ged. The ROM data pointed to by the new address is fetched and loaded into the Q latches. Next, the stack is ”popped” (SC → SB → SA → PC), restoring the saved value of PC to continue sequential pro- gram execution. Since LQID pushes SB → SC, the previous contents of SC are lost. Also, when LQID pops the stack, the previously pushed contents of SB are left in SC. The net result is that the contents of SB are placed in SC (SB → SC). Note that LQID takes two instruction cycle times to execute. Figure 7 : INIL Hardware Implementation. SKT INSTRUCTION The SKT (Skip On Timer) instruction tests the state of an internal 10-bit time-base counter. This counter divides the instruction cycle clock, frequency by 1024 and provides a latched indication of counter o- verflow. The SKT instruction tests this latch, execu- ting the next program instruction if the latch is not set. If the latch has been set since the previous test, the next program instruction is skipped and the latch is reset. The features associated with this instruc- tion, therefore, allow the ETL9344/L9345 to gene- rate its own time-base for real-time processing rather than relying on an external input signal. For example, using a 2.097MHz crystal as the time- base to the clock generator, the instruction cycle clock frequency will be 65kHz (crystal frequency ÷ 32) and the binary counter output pulse frequency willbe 64Hz. For time-of-day or similar real-time pro- cessing, the SKT instruction can call a routine which increments a ”seconds” counter every 64 ticks. INSTRUCTION SET NOTES a. The first word of a ETL9444/L9445 program (ROM address 0) must be a CLRA (Clear A) in- struction. b. Although skipped instructions are not executed, one instruction cycle time is devoted to skipping each byte of the skipped instruction. Thus all pro- gram paths except JID and LQID take the same number of cycle times whether instructions are skipped or executed. JID and LQID instructions take 2 cycles if executed and 1 cycle if skipped. c. The ROM is organized into 32 pages of 64 words each. The Program Counter is an 11-bit binary counter, and will count through page boundaries. If a JP, JSRP, JID or LQID instruction is located in the last word of a page, the instruction ope- rates as if it were in the next page. For example : a JP located in the last work of a page will jump to a location in the next page. Also, a LQID or JID located in the last word of page 3, 7, 11, 15, 19, 23 or 27 will access data in the next group of four pages. ETL9444/9445–ETL9344/9345 23/27 |
|
Link URL |
| Lei ha avuto il aiuto da alldatasheet? [ DONATE ] |
Di alldatasheet | Richest di pubblicita | contatti | Privacy Policy | Collegamento alla scheda tecnica | scambio Link | Ricerca produttore All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |