Electronic Components Datasheet Search |
|
HT95L10P-64QFP-A Datasheet(PDF) 7 Page - Holtek Semiconductor Inc |
|
HT95L10P-64QFP-A Datasheet(HTML) 7 Page - Holtek Semiconductor Inc |
7 / 42 page HT95L100/10P Rev. 0.10 7 October 1, 2002 Preliminary Program memory - ROM The program memory is used to store the program in- structions which are to be executed. It also contains data, table, and interrupt entries, and is organized into 4096 ´16 bits, addressed by the program counter and ta- ble pointer. Certain locations in the program memory are reserved for special usage: · Location 0000H This area is reserved for the initialization program. Af- ter chip power-on reset or external reset or WDT time-out reset, the program always begins execution at location 0000H. · Location 0004H This area is reserved for the external interrupt service program. If the INT/TMR1 input pin is activated, the external interrupt is enabled and the stack is not full, the program begins execution at location 0004H. · Location 0008H This area is reserved for the Timer/Event Counter 0 in- terrupt service program. If a timer interrupt results from a Timer/Event Counter 0 overflow, the Timer/Event Counter 0 interrupt is enabled and the stack is not full, the program begins execution at loca- tion 0008H. · Location 000CH This location is reserved for the Timer/Event Counter 1 interrupt service program. If a timer interrupt results from a Timer/Event Counter 1 overflow, the Timer/Event Counter 1 interrupt is enabled and the stack is not full, the program begins execution at loca- tion 000CH. · Location 0014H This location is reserved for real time clock (RTC) in- terrupt service program. When RTC generator is en- abled and time-out occurs, the RTC interrupt is enabled and the stack is not full, the program begins execution at location 0014H. · Location 0018H This location is reserved for the HKS pin edge transi- tion or HDI pin falling edge transition or HFI pin rising edge transition. If this condition occurs, the dialer I/O interrupt is enabled and the stack is not full, the pro- gram begins execution at location 18H. Table location Any location in the ROM space can be used as look-up tables. The instructions ²TABRDC [m]² (the current page, one page=256 words) and ²TABRDL [m]² (the last page) transfer the contents of the lower-order byte to the specified data memory, and the higher-order byte to TBLH (08H). Only the destination of the lower-order byte in the table is well-defined, and the higher-order byte of the table word is transferred to TBLH. The table pointer (TBLP) is a read/write register (07H), which indi- cates the table location. Before accessing the table, the location must be placed in the TBLP. The TBLH is read only and cannot be restored. If the main routine and the ISR (Interrupt Service Routine) both employ the table read instruction, the contents of the TBLH in the main routine are likely to be changed by the table read in- struction used in the ISR. Errors will then occur. Hence, simultaneously using the table read instruction in the main routine and the ISR should be avoided. However, if the table read instruction has to be applied in both the main routine and the ISR, the interrupt is supposed to be disabled prior to the table read instruction. It will not be enabled until the TBLH has been backed-up. All table related instructions require two cycles to complete the operation. These areas may function as normal pro- gram memory depending on the requirements. P r o g r a m R O M 1 6 b i t s L o o k - u p t a b l e ( 2 5 6 w o r d s ) n 0 0 H L o o k - u p t a b l e ( 2 5 6 w o r d s ) 0 . . . H N o t e : n r a n g e s f r o m 0 t o 0 E H n . . H 0 0 0 H 0 0 4 H 0 0 8 H D e v i c e i n i t i a l i z a t i o n p r o g r a m E x t e r n a l i n t e r r u p t s u b r o u t i n e T i m e r / e v e n t c o u n t e r 0 i n t e r r u p t s u b r o u t i n e T i m e r / e v e n t c o u n t e r 1 i n t e r r u p t s u b r o u t i n e 0 0 C H R T C i n t e r r u p t s u b r o u t i n e 0 1 4 H D i a l e r I / O i n t e r r u p t s u b r o u t i n e 0 1 8 H Program memory Instruction(s) Table Location *11 *10 *9 *8 *7 *6 *5 *4 *3 *2 *1 *0 TABRDC [m] P11 P10 P9 P8 @7 @6 @5 @4 @3 @2 @1 @0 TABRDL [m] 1111 @7 @6 @5 @4 @3 @2 @1 @0 Note: *11~*0: Table location bits P11~P8: Current program counter bits @7~@0: Table pointer bits |
Similar Part No. - HT95L10P-64QFP-A |
|
Similar Description - HT95L10P-64QFP-A |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.NET |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link Exchange | Manufacturer List 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 |