CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Telephone Function)

R10HIZ

 

 

 

 

 

 

"0"

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R11HIZ

 

 

 

 

 

 

"0"

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R10 register

 

 

 

 

 

 

"1"

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R11 register

 

 

 

 

 

 

"1"

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CTMO(FF13H•D0)

 

 

 

 

 

 

"1"

 

"0"

 

 

 

 

 

 

 

 

 

CRMO(FF13H•D1)

 

 

 

 

 

 

"1"

 

"0"

 

 

 

 

 

 

 

 

 

 

 

 

 

CTMUT(FF18H•D0)

 

 

 

 

 

 

"1"

 

"0"

 

 

 

 

 

 

 

 

 

CRMUT(FF18H•D1)

 

 

 

 

 

 

"1"

 

"0"

 

 

 

 

 

 

 

 

 

 

 

 

 

R10(XTMUTE) output

Hi-z

 

"1"

 

 

 

 

 

 

"1"

 

 

 

 

 

 

 

 

 

 

R11(XRMUTE) output

Hi-z

 

"1"

 

 

 

 

 

"1"

 

 

 

 

 

 

 

 

 

 

 

 

 

Fig. 4.14.3.1 Output terminal setting procedure

(2)Executing

After setting, write the corresponding control register to start the execution. Table 4.14.3.2 lists control registers for executing.

Table 4.14.3.2 Control registers and executing function

Functions

Control registers

Executing function

DTMF

TCD3–TCD0 (FF17H)

Dialing tone

 

CTO

(FF16H•D3)

Continuous tone output ON/OFF

 

HSON

(FF18H•D3)

Hook switch ON/OFF

DP

TCD3–TCD0

(FF17H)

Dialing pulse

 

HSON

(FF18H•D3)

Hook switch ON/OFF

Pause

PAUSE

(FF14H•D1)

Pause

Flash

FLASH

(FF14H•D0)

Flash

Hold-line

HOLD

(FF14H•D2)

Hold-line

Handfree

HF

(FF14H•D3)

Handfree

See Section 4.14.10, "I/O memory of telephone function", for details of each control register.

The hook switch (HSON), continuous tone output (CTO), hold-line (HOLD) and handfree (HF) functions and their timings are controlled by software. These functions do not generate interrupts.

The HSON that controls the hook switch must be turned ON (off-hook) before executing the telephone function. Actual handset operations are not taken into the dialer. The HSON register allows on- hook dialing. The hook switch should be connected to an input port (Kxx) and get the switch status using an input interrupt.

By setting data for the dial number (1 digit) to the TCD register after setting HSON to off-hook, the dialer output the dialing tone or dialing pulses according to the condition set in (1). When the output is completed, an interrupt occurs. Use the interrupt for setting the next digit number.

The pause and flash functions are executed by writing "1" to the PAUSE and FLASH bits and will generate an interrupt after the period of time set in (1) has passed. It is not necessary to turn the function OFF.

114

EPSON

S1C63558 TECHNICAL MANUAL