| Electronic Components Datasheet Search |
|
HT67F60 Datasheet(PDF) 109 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT67F60 Datasheet(HTML) 109 Page - Holtek Semiconductor Inc |
|
109 / 242 page ![]() HT67F30/HT67F40/HT67F50/HT67F60 TinyPowerTM A/D Flash Type 8-Bit MCU with LCD & EEPROM Rev. 1.50 108 March 06 , 2012 Rev. 1.50 109 March 06 , 2012 Programming Considerations The TM Counter Registers and the Capture/Compare CCRA and CCRB registers, being either 10-bit or 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 internal 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. Data Bus 8-bit Buffer TMxDH TMxDL TMxBH TMxBL TMxAH TMxAL TM Counter Register (Read only) TM CCRA Register (Read/Write) TM CCRB Register (Read/Write) The following steps show the read and write procedures: ● Writing Data to CCRB or CCRA ♦ Step 1. Write data to Low Byte TMxAL or TMxBL – note that here data is only written to the 8-bit buffer. ♦ Step 2. Write data to High Byte TMxAH or TMxBH – here data is written directly to the high byte registers and simultaneously data is latched from the 8-bit buffer to the Low Byte registers. ● Reading Data from the Counter Registers and CCRB or CCRA ♦ Step 1. Read data from the High Byte TMxDH, TMxAH or TMxBH – 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 or TMxBL – this step reads data from the 8-bit buffer. As the CCRA and CCRB registers are implemented in the way shown in the following diagram and accessing these register pairs is carried out in a specific way described above, it is recommended to use the “MOV” instruction to access the CCRA and CCRB low byte registers, named TMxAL and TMxBL, using the following access procedures. Accessing the CCRA or CCRB low byte registers without following these access procedures will result in unpredictable values. |
|
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 |