| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT49CU80 bảng dữ liệu(PDF) 8 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT49CU80 bảng dữ liệu(HTML) 8 Page - Holtek Semiconductor Inc |
|
8 / 54 page ![]() HT49RU80/HT49CU80 Rev. 1.20 8 December 16, 2009 The lower byte of the PC, known as PCL, is a readable and writeable register. Moving data into the PCL performs a short jump. The destination is 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 organised into 8192 ´16´2 banks which are addressed by the program counter and table pointer. The BP register bits5~bits7 are used to select the Pro- gram Memory bank. When BP.7~BP.5 = 000B, Program Memory bank 0 is selected and ranges from 0000H to 1FFFH. When BP.7~BP.5 = 001B, Program Memory bank 1 is selected which ranges from 2000H to 3FFFH. The CALL and JMP instruction provide for a full 13 bits of addressing to allow branching anywhere within the 8K program memory bank. When executing a CALL or JMP instruction, the highest bit of the address is provided by BP.5. When executing a CALL or JMP instruction, the bank select bit must be correctly programmed to ensure that the desired program memory bank is addressed. If a return from a CALL instruction or an interrupt is exe- cuted, the entire 14-bit program counter is popped off the stack. Certain locations in the ROM are reserved for special usage: · Location 000H Location 000H is reserved for program initialisation. After a chip reset, the program always begins execu- tion at this location. · Location 004H Location 004H is reserved for the external interrupt service program. If the INT0 input pin is activated, and the interrupt is enabled, and the stack is not full, the program will jump to this location and begin execution. · Location 008H Location 008H is reserved for the external interrupt service program also. If the INT1 input pin is activated, and the interrupt is enabled, and the stack is not full, the program will jump to this location and begin execution. · Location 00CH Location 00CH is reserved for the Timer/Event Coun- ter 0 interrupt service program. If a timer interrupt re- sults from a Timer/Event Counter 0 overflow, and if the interrupt is enabled and the stack is not full, the pro- gram will jump to this location and begin execution. · Location 010H Location 010H is reserved for the Timer/Event Coun- ter 1 interrupt service program. If a timer interrupt re- sults from a Timer/Event Counter 1 overflow, and if the interrupt is enabled and the stack is not full, the pro- gram will jump to this location and begin execution. · Location 014H This location is reserved for the UART interrupt ser- vice program. If a UART interrupt results from a UART TX or RX, and the interrupt is enabled and the stack is not full, the program will jump to this location and be- gin execution. · Location 018H This location is reserved for the multi function interrupt service program. If a multi function interrupt results from a Timer/Event Counter 2 overflow, a time base interrupt occurs, or an RTC counter overflow, and the related interrupts are enabled and the multi function interrupt is enabled and the stack is not full, the pro- gram will jump to this location and begin execution. 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 0 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 B a n k 0 E x t e r n a l i n t e r r u p t 1 s u b r o u t i n e U A R T I n t e r r u p t S u b r o u t i n e M u l t i F u n c t i o n 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 3 F F F H 0 0 0 H 0 0 4 H 0 0 8 H 0 1 4 H 0 1 8 H 0 0 C H 0 1 0 H 1 F F F H 1 6 b i t s N o t e : n r a n g e s f r o m 0 t o 1 F P r o g r a m R O M B a n k 1 L o o k - u p t a b l e ( 2 5 6 w o r d s ) L o o k - u p t a b l e ( 2 5 6 w o r d s ) 1 F 0 0 H n 0 0 H n F F H L o o k - u p t a b l e ( 2 5 6 w o r d s ) 3 F 0 0 H Program Memory Instruction(s) Table Location *13~*8 *7 *6 *5 *4 *3 *2 *1 *0 TABRDC [m] TBHP @7 @6 @5 @4 @3 @2 @1 @0 TABRDL [m] 111111 @7 @6 @5 @4 @3 @2 @1 @0 Table Location Note: *13~*0: Table location bits TBHP: Table pointer higher-order bits @7~@0: Bits of TBLP |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |