HT95AXXX
Rev. 1.20
24
May 26, 2004
Line Control Function (Supported for HT95A400/40P, HT95A300/30P, HT95A200/20P)
Register
Label
Bits
R/W
Function
LINE
(22H)
6~0
RO
Unused bit, read as 0
LINEC
7
RW
1: Enable the line control function
0: Disable the line control function
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
Register
Label
Bits
R/W
Function
RTCC
(24H)
6, 4~0
RO
Unused bit, read as 0
RTCEN
5
RW
1: Enable RTC function
0: Disable RTC function
RTCTO
7
RW
1: RTC time-out occurs
0: RTC time-out not occurs
The real time clock (RTC) is used to supply a regular internal 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.
PFD Generator (Supported for HT95A400/40P, HT95A300/30P, HT95A200/20P)
Register
Label
Bits
R/W
Function
PFDC
(2EH)
3~0
RO
Unused bit, read as 0
PFDEN
4
RW
1: Enable PFD output
0: Disable PFD output, the MUSIC pin output low level.
PRES0
PRES1
5
6
RW
Bit6, 5=00: Prescaler output= PFD frequency source/1
Bit6, 5=01: Prescaler output= PFD frequency source/2
Bit6, 5=10: Prescaler output= PFD frequency source/4
Bit6, 5=11: Prescaler output= PFD frequency source/8
FPFD
7
RW
1: The PFD frequency source is 3.58MHz/4
0: The PFD frequency source is 32768Hz
PFDD
(2FH)
7~0
RW
PFD data register
7
&
$
&
$ 8
! , &
$ $
$
5
8
7 - . & / *
/ *