Electronic Components Datasheet Search |
|
HT82D40REW Datasheet(PDF) 9 Page - Holtek Semiconductor Inc |
|
HT82D40REW Datasheet(HTML) 9 Page - Holtek Semiconductor Inc |
9 / 104 page HT82D40REW Rev. 1.00 9 April 1, 2010 · Rotation RRA, RR, RRCA, RRC, RLA, RL, RLCA, RLC · Increment and Decrement INCA, INC, DECA, DEC · Branch decision, JMP, SZ, SZA, SNZ, SIZ, SDZ, SIZA, SDZA, CALL, RET, RETI Program Memory The Program Memory is the location where the user code or program is stored. The HT82D40REW is a One-Time Programmable, OTP, memory type device where users can program their application code into the device. By using the appropriate programming tools, OTP devices offer users the flexibility to freely develop their applications which may be useful during debug or for products requiring frequent upgrades or program changes. OTP devices are also applicable for use in ap- plications that require low or medium volume production runs. Structure The Program Memory has a capacity of 4K by 15 bits. The Program Memory is addressed by the Program Counter and also contains data, table information and interrupt entries. Table data, which can be setup in any location within the Program Memory, is addressed by separate table pointer registers. Special Vectors Within the Program Memory, certain locations are re- served for special usage such as reset and interrupts. · Location 000H This area is reserved for program initialization. After chip reset, the program always begins execution at lo- cation 000H. · Location 004H This area is reserved for the USB interrupt service program. If the USB interrupt is activated, the interrupt is enabled and the stack is not full, the program jumps to this location and begins execution. · Location 008H 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, and if the in- terrupt is enabled and the stack is not full, the program jumps to this location and begins execution. · Location 00CH This area is reserved for the Timer/Event Counter 1 in- terrupt service program. If a timer interrupt results from a Timer/Event Counter 1 overflow, and the inter- rupt is enabled and the stack is not full, the program jumps to this location and begins execution. · Location 010H This vector is used by serial interface. When 8-bits of data have been received or transmitted successfully from serial interface. The program will jump to this lo- cation and begin execution if the interrupt is enabled and the stack is not full. · Table location Any location in the program memory can be used as look-up tables. There are three methods to read the Program Memory data using two table read instruc- tions: ²TABRDC² and ²TABRDL², transfer the con- tents of the lower-order byte to the specified data memory, and the higher-order byte to TBLH (08H). The three methods are shown as follows: ¨ Using the instruction ²TABRDC [m]² for the current Program Memory page, where one page= 256words, where the table location is defined by TBLP in the current page. This is where the config- uration option has disabled the TBHP register. ¨ Using the instruction ²TABRDC [m]², where the ta- ble location is defined by registers TBLP and TBHP. Here the configuration option has enabled the TBHP register. ¨ Using the instruction ²TABRDL [m]², where the ta- ble location is defined by registers TBLP in the last page which has the address range 0F00H~0FFFH. F F F H 1 5 b i t s U S B I n t e r r u p t V e c t o r T i m e r / E v e n t 0 C o u n t e r I n t e r r u p t V e c t o r 0 0 4 H 0 0 8 H 0 1 0 H I n i t i a l i s a t i o n V e c t o r 0 0 0 H S P I I n t e r r u p t V e c t o r T i m e r / E v e n t 1 C o u n t e r I n t e r r u p t V e c t o r 0 0 C H Program Memory Structure Instruction Table Location Bits b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 TABRDC[m] PC11 PC10 PC9 PC8 @7 @6 @5 @4 @3 @2 @1 @0 TABRDL [m] 1111 @7 @6 @5 @4 @3 @2 @1 @0 Table Location Note: PC11~PC8: Current Program Counter bits when TBHP register is disabled. TBHP register Bit 3 ~ Bit 0 when TBHP is enabled. @7~@0: Table Pointer TBLP bits |
Similar Part No. - HT82D40REW |
|
Similar Description - HT82D40REW |
|
|
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 |