| Electronic Components Datasheet Search |
|
HT66F03C Datasheet(PDF) 21 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F03C Datasheet(HTML) 21 Page - Holtek Semiconductor Inc |
|
21 / 142 page ![]() HT66F03C/HT66F04C/HT68F03C/HT68F04C Rev. 0.00 21 February 26, 2010 Preliminary Bank Pointer - BP For this series of devices, the Data Memory is divided into two banks. Selecting the required Data Memory area is achieved using the Bank Pointer. Bit 0 is used to select Data Memory Banks 0~1. The Data Memory is initialised to Bank 0 after a reset, except for a WDT time-out reset in the Power Down Mode, in which case, the Data Memory bank remains unaffected. It should be noted that the Special Function Data Memory is not affected by the bank selection, which means that the Special Function Registers can be accessed from within any bank. Directly addressing the Data Memory will always result in Bank 0 being ac- cessed irrespective of the value of the Bank Pointer. Ac- cessing data from banks other than Bank 0 must be implemented using indirect addressing. Accumulator - ACC The Accumulator is central to the operation of any microcontroller and is closely related with operations carried out by the ALU. The Accumulator is the place where all intermediate results from the ALU are stored. Without the Accumulator it would be necessary to write the result of each calculation or logical operation such as addition, subtraction, shift, etc., to the Data Memory resulting in higher programming and timing overheads. Data transfer operations usually involve the temporary storage function of the Accumulator; for example, when transferring data between one user defined register and another, it is necessary to do this by passing the data through the Accumulator as no direct transfer between two registers is permitted. Program Counter Low Register - PCL To provide additional program control functions, the low byte of the Program Counter is made accessible to pro- grammers by locating it within the Special Purpose area of the Data Memory. By manipulating this register, direct jumps to other program locations are easily imple- mented. Loading a value directly into this PCL register will cause a jump to the specified Program Memory lo- cation, however, as the register is only 8-bit wide, only jumps within the current Program Memory page are per- mitted. When such operations are used, note that a dummy cycle will be inserted. Look-up Table Registers - TBLP, TBHP, TBLH These three special function registers are used to con- trol operation of the look-up table which is stored in the Program Memory. TBLP and TBHP are the table pointer and indicates the location where the table data is lo- cated. Their value must be setup before any table read commands are executed. Their value can be changed, for example using the ²INC² or ²DEC² instructions, al- lowing for easy table data pointing and reading. TBLH is the location where the high order byte of the table data is stored after a table read data instruction has been exe- cuted. Note that the lower order table data byte is trans- ferred to a user defined location. · Bank Pointer Register Bit 76543210 Name ¾¾¾¾¾¾¾ DMBP0 R/W ¾¾¾¾¾¾¾ R/W POR ¾¾¾¾¾¾¾ 0 Bit7~1 Unimplemented, read as ²0² Bit 0 DMBP0: Select Data Memory Banks 0: Bank 0 1: Bank 1 |
|
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 |