| Electronic Components Datasheet Search |
|
HT56R22 Datasheet(PDF) 19 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT56R22 Datasheet(HTML) 19 Page - Holtek Semiconductor Inc |
|
19 / 131 page ![]() HT56R22/HT56R23/HT56R24/HT56R25/HT56R26 Rev. 1.00 19 March 11, 2010 · 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 device is supplied with One-Time Programmable, OTP, memory 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 applica- tions which may be useful during debug or for products requiring frequent upgrades or program changes. Structure The Program Memory has a capacity of 2K ´14 to 32K ´16. The Program Memory is addressed by the Pro- gram 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. Device Capacity HT56R22 2K ´14 HT56R23 4K ´15 HT56R24 8K ´16 HT56R25 16K ´16 HT56R26 32K ´16 Special Vectors Within the Program Memory, certain locations are re- served for special usage such as reset and interrupts. · Reset Vector This vector is reserved for use by the device reset for program initialisation. After a device reset is initiated, the program will jump to this location and begin execution. · External interrupt 0/1 vector This vector is used by the external interrupt. If the ex- ternal interrupt pin on the device receives an edge transition, the program will jump to this location and begin execution if the external interrupt is enabled and the stack is not full. The external interrupt active edge transition type, whether high to low, low to high or both is specified in the INTEDGE register. · Timer/Event 0/1 counter interrupt vector This internal vector is used by the Timer/Event Coun- ters. If a Timer/Event Counter overflow occurs, the program will jump to its respective location and begin execution if the associated Timer/Event Counter inter- rupt is enabled and the stack is not full. · SPI/I 2C interrupt vector This internal vector is used by the SPI/I 2C interrupt. When either an SPI or I 2C bus, dependent upon which one is selected, requires data transfer, the program will jump to this location and begin execution if the SPI/I 2C interrupt is enabled and the stack is not full. 0 0 0 0 H H T 5 6 R 2 2 R e s e t E x t e r n a l 0 I n t e r r u p t T i m e r 0 I n t e r r u p t T i m e B a s e I n t e r r u p t , R T C I n t e r r u p t , A / D I n t e r r u p t , E x t e r n a l P e r i p h e r a l I n t e r r u p t , S P I 1 I n t e r r u p t 0 0 0 4 H 0 0 0 8 H 0 0 0 C H 0 0 1 0 H 0 0 1 4 H 0 0 1 8 H E x t e r n a l 1 I n t e r r u p t T i m e r 1 I n t e r r u p t S P I / I 2 C I n t e r r u p t H T 5 6 R 2 3 R e s e t E x t e r n a l 0 I n t e r r u p t T i m e r 0 I n t e r r u p t T i m e B a s e I n t e r r u p t , R T C I n t e r r u p t , A / D I n t e r r u p t , E x t e r n a l P e r i p h e r a l I n t e r r u p t , T i m e r 2 I n t e r r u p t , S P I 1 I n t e r r u p t E x t e r n a l 1 I n t e r r u p t T i m e r 1 I n t e r r u p t S P I / I 2 C I n t e r r u p t H T 5 6 R 2 5 R e s e t E x t e r n a l 0 I n t e r r u p t T i m e r 0 I n t e r r u p t T i m e B a s e I n t e r r u p t , R T C I n t e r r u p t , A / D I n t e r r u p t , E x t e r n a l P e r i p h e r a l I n t e r r u p t , T i m e r 2 I n t e r r u p t , T i m e r 3 I n t e r r u p t , S P I 1 I n t e r r u p t E x t e r n a l 1 I n t e r r u p t T i m e r 1 I n t e r r u p t S P I / I 2 C I n t e r r u p t H T 5 6 R 2 4 R e s e t E x t e r n a l 0 I n t e r r u p t T i m e r 0 I n t e r r u p t T i m e B a s e I n t e r r u p t , R T C I n t e r r u p t , A / D I n t e r r u p t , E x t e r n a l P e r i p h e r a l I n t e r r u p t , T i m e r 2 I n t e r r u p t , S P I 1 I n t e r r u p t E x t e r n a l 1 I n t e r r u p t T i m e r 1 I n t e r r u p t S P I / I 2 C I n t e r r u p t H T 5 6 R 2 6 R e s e t E x t e r n a l 0 I n t e r r u p t T i m e r 0 I n t e r r u p t T i m e B a s e I n t e r r u p t , R T C I n t e r r u p t , A / D I n t e r r u p t , E x t e r n a l P e r i p h e r a l I n t e r r u p t , T i m e r 2 I n t e r r u p t , T i m e r 3 I n t e r r u p t , S P I 1 I n t e r r u p t E x t e r n a l 1 I n t e r r u p t T i m e r 1 I n t e r r u p t S P I / I 2 C I n t e r r u p t 7 F F H F F F H 1 4 b i t s 1 5 b i t s 1 6 b i t s 1 6 b i t s 1 6 b i t s 1 F F F H 3 F F F H 7 F F F H Program Memory Structure |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | 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 |