Rev. 1.00
60
August 29, 2018
Rev. 1.00
61
August 29, 2018
HT45F6530
AC Voltage Regulator Flash MCU
HT45F6530
AC Voltage Regulator Flash MCU
this register pair is carried out in a specific way described above, it is recommended to use the
“MOV” instruction to access the CCRA low byte register, named CTMnAL, in the following access
procedures. Accessing the CCRA low byte register without following these access procedures will
result in unpredictable values.
Data Bus
8-bit Buffer
CTMnDH
CTMnDL
CTMnAH
CTMnAL
CTMn Counter Register (Read only)
CTMn CCRA Register (Read/Write)
The following steps show the read and write procedures:
• Writing Data to CCRA
♦
Step 1. Write data to Low Byte CTMnAL
– Note that here data is only written to the 8-bit buffer.
♦
Step 2. Write data to High Byte CTMnAH
– 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 CCRA
♦
Step 1. Read data from the High Byte CTMnDH, CTMnAH
– 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 CTMnDL, CTMnAL
– This step reads data from the 8-bit buffer.