HT95CXXX
Rev. 1.50
30
May 26, 2005
Line Control Function
Bit No.
Label
R/W
Function
6~0
RO
Unused bit, read as 0
7
LINEC
RW
1: Enable the line control function
0: Disable the line control function
LINE (22H) Register
The line control function is enabled by the flag LINEC
Conditions
Source to Enable
Line Control Function
LINEC
Operation Mode
1
Normal or Green mode
RTC time out interrupt
1
Sleep mode
Port A wake-up
RTC time out interrupt
1
Idle mode
Port A wake-up
Whenthelinecontrolsourceisactivated,thePOpinwillbesettohighsignal.ClearingLINECto0willterminatetheline
control function and drive PO pin outputs low signal.
RTC Function
Bit No.
Label
R/W
Function
6, 4~0
RO
Unused bit, read as 0
5
RTCEN
RW
1: Enable RTC function
0: Disable RTC function
7
RTCTO
RW
1: RTC time-out occurs
0: RTC time-out not occurs
RTCC (24H) Register
)
*
*
+ '
,
*
%
' -
!
&
( ' - # '
+
) %
*
The real time clock (RTC) is used to supply a regular in-
ternal interrupt. Its time-out period is 1000ms. If the RTC
time-out occurs, the interrupt request flag RTCF and the
RTCTO flag will be set to 1. The interrupt vector for the
RTC is 14H. When the interrupt subroutine is serviced,
the interrupt request flag (RTCF) will be cleared to 0, but
the flag RTCTO remain in its original value. If the
RTCTO flag is not cleared, next RTC time-out interrupt
will occur.
Low Battery Detection
The phone controller provides a circuit that detects the
LBIN pin voltage level. To enable this detection func-
tion, the LBEN should be written as 1. Once this function
is enabled, the detection circuit needs 50 s to be stable.
After that, the user could read the result from LBFG. The
low battery detect function will consume power. For
power saving, write 0 to LBEN if the low battery detec-
tion function is unnecessary.
) . %
) . # /
" 0
,
+
) .
,
,
The battery low threshold is determined by external R1
and R2 resistors.
1.15=V
xR2
+
R1
R2
DET
V
DET
=1.15x(R1+R2)
R2
If we want to detect V
DET
=2.4V
then 2.4V=1.15x(R1
R2)
R2
+
R1=1.087R2