| Electronic Components Datasheet Search |
|
HT66F016 Datasheet(PDF) 52 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F016 Datasheet(HTML) 52 Page - Holtek Semiconductor Inc |
|
52 / 116 page ![]() HT66F016/HT66F017/HT68F016/HT68F017 Rev. 1.00 52 May 14, 2012 · TMPC Register ¨ HT66F016/HT68F016 Bit 76543210 Name ¾¾¾¾¾¾ T1CP ¾ R/W ¾¾¾¾¾¾ R/W ¾ POR ¾¾¾¾¾¾ 0 ¾ Bit 7~2 Unimplemented, read as ²0² Bit 1 T1CP: TP1 pin control 0: disable TP1 pin function 1: enable TP1 pin function Bit 0 Unimplemented, read as ²0² ¨ HT66F017/HT68F017 Bit 76543210 Name ¾¾¾¾¾¾ T1CP T0CP R/W ¾¾¾¾¾¾ R/W R/W POR ¾¾¾¾¾¾ 00 Bit 7~2 Unimplemented, read as ²0² Bit 1 T1CP: TP1 pin control 0: disable TP1 pin function 1: enable TP1 pin function Bit 0 T0CP: TP0 Pin Control 0: Disable TP0 pin function 1: Enable TP0 pin function Programming Considerations The TM Counter Registers and the Capture/Compare CCRA registers, being 16-bit, all have a low and high byte structure. The high bytes can be directly accessed, but as the low bytes can only be accessed via an inter- nal 8-bit buffer, reading or writing to these register pairs must be carried out in a specific way. The important point to note is that data transfer to and from the 8-bit buffer and its related low byte only takes place when a write or read operation to its corresponding high byte is executed. As the CCRA registers are implemented in the way shown in the following diagram and accessing these register pairs is carried out in a specific way de- scribed above, it is recommended to use the ²MOV² in- struction to access the CCRA low byte registers, named TMxAL, using the following access procedures. Ac- cessing the CCRA low byte registers without following these access procedures will result in unpredictable val- ues. The following steps show the read and write proce- dures: · Writing data to CCRA ¨ Step 1. Write data to Low Byte TMxAL - note that here data is only written to the 8-bit buffer. ¨ Step 2. Write data to High Byte TMxAH - here data is written directly to the high byte registers and si- multaneously data is latched from the 8-bit buffer to the Low Byte registers. · Reading Data from the Counter Registers and CCRA ¨ Step 1. Read data from the High Byte TMxDH, TMxAH - here data is read directly from the High Byte registers and simultaneously data is latched from the Low Byte register into the 8-bit buffer. ¨ Step 2. Read data from the Low Byte TMxDL, TMxAL - this step reads data from the 8-bit buffer. Data Bus 8-bit Buffer TMxDH TMxDL TMxAH TMxAL TM Counter Register (Read only) TM CCRA Register (Read/Write) |
|
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 |