參數(shù)資料
型號: HT47C20
廠商: Holtek Semiconductor Inc.
元件分類: 8位微控制器
英文描述: 8-BIT MICROCONTROLLER
中文描述: 8位微控制器
文件頁數(shù): 18/56頁
文件大?。?/td> 352K
代理商: HT47C20
HT47C20
18
January 18, 2000
Real time clock
RTC
The real time clock (RTC) is operated in the
same manner as the time base that is used to
supply a regular internal interrupt. Its
time-out period ranges from f
s
/2
8
to f
s
/2
15
by
software programming . Writing data to RT2,
RT1 and RT0 (bits 2, 1, 0 of RTCC;09H) yields
various time-out periods. If the RTC time-out
occurs, the related interrupt request flag (RTF;
bit 6 of INTC0) is set. But if the interrupt is en-
abled, and the stack is not full, a subroutine call
to location 0CH occurs. The real time clock
time-out signal can also be applied to be a clock
source of timer/event counter, so as to get a lon-
ger time-out period.
RT2
RT1
RT0
RTC Clock Divided
Factor
2
8
2
9
2
10
2
11
2
12
2
13
2
14
2
15
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
Power down operation
HALT
The HALT mode is initialized by the HALT in-
struction and results in the following.
The system oscillator will turn off but the
WDT oscillator or RTC oscillator keeps run-
ning (if the WDT oscillator or the real time
clock is selected).
The contents of the on-chip RAM and regis-
ters remain unchanged.
The WDT will be cleared and recounted again
(if the WDT clock comes from the WDT oscil-
lator or the real time clock oscillator).
All I/O ports maintain their original status.
The PD flag is set and the TO flag is cleared.
LCD driver is still running by mask option (if
the WDT OSC or RTC OSC is selected).
The system can leave the halt mode by means of
an external reset, an interrupt, an external fall-
ing edge signal on port Aor a WDT overflow. An
external reset causes a device initialization and
the WDT overflow performs a warm reset . Ex-
amining the TO and PD flags, the reason for
chip reset can be determined. The PD flag is
cleared when the system power-up or executing
the CLR WDT instruction and is set when the
HALT instruction is executed. The TO flag is set
if a WDT time-out occurs, it causes a wake-up
that only resets the PC and SP, the others main-
tain their original status.
The port Awake-up and interrupt methods can
be considered as a continuation of normal exe-
cution. Each bit in port A can be independently
selected to wake up the device by mask option.
Awakening from an I/O port stimulus, the pro-
gram will resume execution of the next instruc-
tion. If awakening from an interrupt, two
sequences may happen. If the related interrupt
is disabled or the interrupt is enabled but the
stack is full, the program will resume execution
at the next instruction. If the interrupt is en-
abledandthestackisnotfull,theregularinter-
rupt response takes place.
If an interrupt request flag is set to 1 before
entering the halt mode the wake-up function of
the related interrupt will be disabled.
6
'
4
( ( ( ( ( ( ( (
'
6 (
> E
*
(
"
6
9
'
( ( 2 ( '
Real time clock
相關(guān)PDF資料
PDF描述
HT47R20 8 位R-F 型OTP 單片機(jī)
HT48C05 Cost-Effective I/O Type 8-Bit MCU
HT48C06 Cost-Effective I/O Type 8-Bit MCU
HT48C10-1 8-Bit High Performance RISC-like Microcontroller Suitable for Multiple I/O Application(高性能、指令類似RISC的8位微控制器,用于多I/O接口設(shè)備)
HT48C50-1 8-Bit High Performance RISC-like Microcontroller Suitable for Multiple I/O Application(高性能、指令類似RISC的8位微控制器,用于多I/O接口設(shè)備)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HT47C20_02 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:8-Bit R-F Type Mask MCU
HT47C20-1 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:R-F Type 8-Bit MCU
HT47C20-1_08 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:R-F Type 8-Bit MCU
HT47C20L 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:8-Bit Microcontroller
HT47C20L_05 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:R-F Type Low Voltage 8-Bit Mask MCU