Electronic Components Datasheet Search |
|
HTG2190 Datasheet(PDF) 11 Page - Holtek Semiconductor Inc |
|
HTG2190 Datasheet(HTML) 11 Page - Holtek Semiconductor Inc |
11 / 64 page HTG2190 Rev. 1.00 11 June 29, 2001 Mode Program ROM Address *15 *14 *13 *12 *11 *10 *9 *8 *7 *6 *5 *4 *3 *2 *1 *0 Initial reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 External or serial input interrupt 00 0 0 0 0 0 0 0 0 0 0 0 1 0 0 Timer/event counter 0 overflow 00 0 0 0 0 0 0 0 0 0 0 1 0 0 0 Timer/event counter 1 overflow 00 0 0 0 0 0 0 0 0 0 0 1 1 0 0 Timer 2 overflow 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 Timer 3 overflow 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 Skip PC+2 Loading PCL *15 *14 *13 *12 *11 *10 *9 *8 @7 @6 @5 @4 @3 @2 @1 @0 Jump, call branch BP.7 BP.6 BP.5 #12 #11 #10 #9 #8 #7 #6 #5 #4 #3 #2 #1 #0 Return from subroutine S15 S14 S13 S12 S11 S10 S9 S8 S7 S6 S5 S4 S3 S2 S1 S0 Program ROM address Note: *15~*0: Program ROM address S15~S0: Stack register bits @7~@0: PCL bits BP.5~BP.7: Bit 5~7 of bank pointer (04H) #12~#0: Instruction code bits gram is in the program will always jump to the appropriate interrupt service address in Bank 0. The original full 16 bit address will be stored on the stack and restored when the relevant RET/RETI instruction is executed, automati- cally returning the program to the original ROM bank. This eliminates the need for pro- grammers to manage the BP when interrupts occur. Certain locations in Bank 0 of program mem- ory are reserved for special usage: · ROM Bank 0 (BP5~BP7=000B) The ROM bank 0 ranges from 0000H to 1FFFH. · Location 000H This area is reserved for the initialization program. After a chip reset, the program al- ways begins execution at location 000H. · Location 004H This area is reserved for the external inter- rupt or serial input interrupt service routine. If the INT input pin is activated, and the in- terrupt is enabled and the stack is not full, the program will jump to location 004H and begins execution. · Location 008H/00CH This area is reserved for the Timer/Event Counter 0/1 interrupt service program. If a timer interrupt results from a Timer/Event Counter 0/1 overflow, and if the interrupt is en- abled and the stack is not full, the program will jump to location 008H/00CH and begins execu- tion. 0000 H 0004 H 0008 H D e v i c e i ni t i al i z at i on pr ogr am E x t e r n al o r s e r i al i nput i nt er r u p t s ubr out i n e T i m e r / ev ent c o unt er 0 i nt e r r upt s ub r out i n e P r ogr am RO M 16 b i t s FF FF H T i m e r / ev ent c o unt er 1 i nt e r r upt s ub r out i n e 000C H T i m e r 2 i nt er r upt s ubr out i n e T i m e r 3 i nt er r upt s ubr out i n e 010H 014H D / A buf f e r e m pt y i n t e r r upt 018H Program memory |
Similar Part No. - HTG2190 |
|
Similar Description - HTG2190 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.COM |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | 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 |