Rev. 1.00
52
September 11, 2018
Rev. 1.00
53
September 11, 2018
HT45F4050
A/D NFC Flash MCU
HT45F4050
A/D NFC Flash MCU
Entering the IDLE0 Mode
There is only one way for the device to enter the IDLE0 Mode and that is to execute the "HALT"
instruction in the application program with the FHIDEN bit in the SCC register equal to "0" and the
FSIDEN bit in the SCC register equal to "1". When this instruction is executed under the conditions
described above, the following will occur:
•
The f
H
clock will be stopped and the application program will stop at the "HALT" instruction, but
the f
SUB
clock will be on.
•
The Data Memory contents and registers will maintain their present condition.
•
The I/O ports will maintain their present conditions.
•
In the status register, the Power Down flag PDF will be set, and WDT timeout flag TO will be cleared.
•
The WDT will be cleared and resume counting
if
the WDT is enabled. If the WDT is disabled
then WDT will be cleared and stopped.
Entering the IDLE1 Mode
There is only one way for the device to enter the IDLE1 Mode and that is to execute the "HALT"
instruction in the application program with the FHIDEN bit in SCC register equal to "1" and the
FSIDEN bit in the SCC register equal to "1". When this instruction is executed under the conditions
described above, the following will occur:
•
The f
H
and f
SUB
clocks will be on but the application program will stop at the "HALT" instruction.
•
The Data Memory contents and registers will maintain their present condition.
•
The I/O ports will maintain their present conditions.
•
In the status register, the Power Down flag PDF will be set, and WDT timeout flag TO will be cleared.
•
The WDT will be cleared and resume counting as the WDT is enabled. If the WDT is disabled
then WDT will be cleared and stopped.
Entering the IDLE2 Mode
There is only one way for the device to enter the IDLE2 Mode and that is to execute the "HALT"
instruction in the application program with the FHIDEN bit in the SCC register equal to "1" and the
FSIDEN bit in SCC register equal to "0". When this instruction is executed under the conditions
described above, the following will occur:
•
The f
H
clock will be on but the f
SUB
clock will be off and the application program will stop at the
"HALT" instruction.
•
The Data Memory contents and registers will maintain their present condition.
•
The I/O ports will maintain their present conditions.
•
In the status register, the Power Down flag PDF will be set, and WDT timeout flag TO will be cleared.
•
The WDT will be cleared and resume counting
if
the WDT is enabled. If the WDT is disabled
then WDT will be cleared and stopped.