| 数据搜索系统,热门电子元器件搜索 |
|
HT95C20P 数据表(PDF) 9 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT95C20P 数据表(HTML) 9 Page - Holtek Semiconductor Inc |
|
9 / 50 page ![]() HT95C200/20P/300/30P Rev. 0.10 9 October 1, 2002 Preliminary tion will be within 256 locations. When a control transfer takes place, an additional dummy cycle is required. 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 8192 ´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 0010H This location is reserved for the peripherals interrupt service program. The peripherals include a DTMF generator and FSK decoder. When the DTMF genera- tor is operated in burst mode, it will generate an inter- rupt after 1 burst cycle is finished. When the FSK decoder detects a ringer or line reversal or FSK carrier signal or FSK packet data, the FSK interrupt is also generated. If these interrupts occurred, the peripheral interrupt is enabled and the stack is not full, the pro- gram begins execution at location 0010H. The pro- grammer could distinguish from these interrupts from the DTMFC and FSKS register. · 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 Instruction(s) Table Location *12 *11 *10 *9 *8 *7 *6 *5 *4 *3 *2 *1 *0 TABRDC [m] P12 P11 P10 P9 P8 @7 @6 @5 @4 @3 @2 @1 @0 TABRDL [m] 1 1 1 1 1 @7 @6 @5 @4 @3 @2 @1 @0 Note: *12~*0: Table location bits P12~P8: Current program counter bits @7~@0: Table pointer bits 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 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 ) 1 . . . H N o t e : n r a n g e s f r o m 0 t o 1 E H n . . H 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 P e r i p h e r a l i n t e r r u p t s u b r o u t i n e 0 1 0 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 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |