HT95C200/20P/300/30P
Rev. 0.10
22
October 1, 2002
Preliminary
Register
Label
Bits
R/W
Function
FSKS
(2AH)
RDETF
0
RW
Ring or line reversal detect interrupt flag
1: Ring or line reversal detected
0: No ring or line reversal detected
This flag is set by hardware and cleared by software.
CDETF
1
RW
FSK carrier detect interrupt flag
1: An FSK carrier signal is detected
0: No valid FSK carrier signal is detected
This flag is set by hardware and cleared by software.
DOUT
2
RO
This flag presents the FSK decoder output when the decoder is at op-
eration mode. This data stream includes the alternate 1 and 0 pattern,
the marking and the data.
DOUTC
3
RO
This flag present the FSK decoder output like as the DOUT flag but
does not include the alternate 1 and 0 pattern.
4
RO
Unused bit, read as 0
FSKF
5
RW
FSK packet data interrupt flag
1: FSK packet data is ready
0: FSK packet data is not ready
This flag is set by hardware and cleared by software.
RINGF
6
RO
Thisflagpresentstheringcomingsignal.Refertothefollowingfigure.
7
RO
Unused bit, read as 0
FSKD
(2BH)
7~0
RO
FSK packet data register
;
<
E
;
>
;
3
9
Ring or Line reversal detect
When no signal is present on the telephone line, RDETI
will be at GND and RTIME is pulled to VDD by R1. If a
line reversal occurs, the RDETI pin will become high.
This causes RTIME and internal signal R_DET to be
pulled low. The C1 and R1 ensure that the R_DET sig-
nal is low during such a time, so that processor can de-
tect it.
When a ring occurs on the line, internal signal R_DET is
permanently low, indicating the envelope of the ring. If
the frequency of the ring must be measured, C1 may be
removed, RTIME and R_DET inverter follow RDETI.
The flag RDETF will go high when the R_DET signal
falling edge is detected. This may cause a peripheral in-
terrupt if RMSK is 0 and the peripheral interrupt is en-
abled (EPERI=1).
FSK data output
The FSK decoder will decode the FSK signal on the TIP
and RING line and produce two kinds of data formats,
the serial data and the 8-bit packet data. It also provides
the FSK carrier detection signal.
To enable the FSK decoder, the F_PWDN should be
written as 0. Once the FSK carrier signal is detected, the
flag CDETF will be set to 1. This may cause a peripheral
interrupt if CMSK is 0 and the peripheral interrupt is en-
abled.
The serial FSK data is present in two formats: RAW data
and COOK data, and could be monitored by the flag
DOUT, DOUTC, respectively.
The flag DOUT presents the output of the decoder when
the decoder is at operation mode. This data stream in-
cludes the alternate 1 and 0 pattern, the marking and
the data.