| поискавой системы для электроныых деталей |
|
HT48R02B датащи(PDF) 13 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT48R02B датащи(HTML) 13 Page - Holtek Semiconductor Inc |
|
13 / 71 page ![]() HT46R01B/02B/01N/02N HT48R01B/02B/01N/02N Rev.1.10 13 February 12, 2010 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 ´15. 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. · 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 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 CTRL1 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. · A/D interrupt vector This internal vector is used by the A/D converter. If A/D conversion complete , the program will jump to this location and begin execution if the A/D interrupt is enabled and the stack is not full. · Time base interrupt vector This internal vector is used by the internal Time Base. If a Time Base overflow occurs, the program will jump to this location and begin execution if the Time Base counter interrupt is enabled and the stack is not full. Look-up Table Any location within the Program Memory can be defined as a look-up table where programmers can store fixed data. To use the look-up table, the table pointer must first be setup by placing the lower order address of the look up data to be retrieved in the table pointer register, TBLP. This register defines the lower 8-bit address of the look-up table. After setting up the table pointer, the table data can be retrieved from the current Program Memory page or last Program Memory page using the ²TABRDC[m]² or ²TABRDL [m]² instructions, respectively. When these in- structions are executed, the lower order table byte from the Program Memory will be transferred to the user de- fined Data Memory register [m] as specified in the in- struction. The higher order table data byte from the Program Memory will be transferred to the TBLH special register. Any unused bits in this transferred higher order byte will be read as ²0². 0 0 H H T 4 6 R 0 1 B H T 4 6 R 0 1 N H T 4 6 R 0 2 B H T 4 6 R 0 2 N R e s e t H T 4 8 R 0 1 B H T 4 8 R 0 1 N H T 4 8 R 0 2 B H T 4 8 R 0 2 N 7 F F H 3 F F H E x t e r n a l 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 e s e t E x t e r n a l 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 e s e t E x t e r n a l 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 e s e t E x t e r n a l 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 r 1 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 T i m e r 1 I n t e r r u p t 0 4 H 0 8 H 0 C H 1 0 H 1 4 H 1 8 H 1 5 b i t s 1 5 b i t s A / D I n t e r r u p t T i m e r 1 I n t e r r u p t A / D I n t e r r u p t T i m e r 1 I n t e r r u p t 1 5 b i t s 1 5 b i t s 7 F F H 3 F F H 0 0 H 0 4 H 0 8 H 0 C H 1 0 H 1 4 H 1 8 H Program Memory Structure |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |