Rev. 1.71 40 April 11, 2017 Rev. 1.71 41 April 11, 2017
HT66F002/HT66F0025/HT66F003/HT66F004
Cost-Effective A/D Flash MCU with EEPROM
HT66F002/HT66F0025/HT66F003/HT66F004
Cost-Effective A/D Flash MCU with EEPROM
Bit4 Unimplemented,readas"0"
Bit3 LTO:Lowspeedsystemoscillatorreadyag
0:Notready
1:Ready
Thisisthelowspeedsystemoscillatorreadyagwhichindicateswhenthelowspeedsystem
oscillatorisstableafterpoweronresetorawake-uphasoccurred.Theagwillbelowwhenin
theSLEEP0mode,butafterawake-uphasoccurredtheagwillchangetoahighlevelafter1~2
cyclesiftheLIRCoscillatorisused.
Bit2 HTO:Highspeedsystemoscillatorreadyag
0:Notready
1:Ready
Thisisthehighspeedsystemoscillatorreadyagwhichindicateswhenthehighspeedsystem
oscillatorisstable.Thisagisclearedto“0”byhardwarewhenthedeviceispoweredonand
thenchangestoahighlevelafterthehighspeedsystemoscillatorisstable.Thereforethisag
willalwaysbereadas“1”bytheapplicationprogramafterdevicepower-on.
Bit1 IDLEN:IDLEModeControl
0:Disable
1:Enable
ThisistheIDLEModeControlbitanddetermineswhathappenswhentheHALTinstructionis
executed.Ifthisbitishigh,whenaHALTinstructionisexecutedthedevicewillentertheIDLE
Mode.IntheIDLE1ModetheCPUwillstoprunningbutthesystemclockwillcontinuetokeep
theperipheralfunctionsoperational,ifFSYSONbitishigh.IfFSYSONbitislow,theCPUand
thesystemclockwillallstopinIDLE0mode.IfthebitislowthedevicewillentertheSLEEP
ModewhenaHALTinstructionisexecuted.
Bit0 HLCLK:SystemClockSelection
0:f
H
/2~f
H
/64orf
L
1:f
H
Thisbitisusedtoselectifthef
H
clockorthef
H
/2~f
H
/64orf
L
clockisusedasthesystemclock.
Whenthebitishighthef
H
clockwillbeselectedandiflowthef
H
/2~f
H
/64orf
L
clockwillbe
selected.Whensystemclockswitchesfromthef
H
clocktothef
L
clockandthef
H
clockwillbe
automaticallyswitchedofftoconservepower.
SMOD1 Register
Bit 7 6 5 4 3 2 1 0
Name FSYSON — — — D3 LVRF — WRF
R/W R/W — — — R/W R/W — R/W
POR 0 — — — 0 x — 0
“x” unknown
B
it7 FSYSON:f
SYS
ControlinIDLEMode
0:Disable
1:Enable
Bit6~4 Unimplemented,readas0
Bit3 D3:Reservedbit
Bit2 LVRF:LVRfunctionresetag
0:Notactive
1:Active
Thisbitcanbeclearto“0”,butcannotbesetto“1”.
Bit1 Unimplemented,readas0